Forums / Setup & design / how to do a pop up window
eve f
Sunday 19 December 2004 10:05:44 pm
for the link "read more", i want it to open a new window.. how shld i write the code..
i try:target="_blank", and also usign dreamweaver to create javascript, but tboth ways don't work..
What is the correct method to use??
Balazs Halasy
Monday 20 December 2004 12:10:52 am
Hi,
This should work:
<a href={$node.url_alias|ezurl} target="_blank">Read more...</a>
...did you remember to clear the caches?
Allman
Monday 20 December 2004 1:36:51 am
oh.. okie.. i try again.. i gt mani questions.. hope u don't find me a bother..
my questions: 1) by the way, how to clear the cache?2) how to display only the image without the name and caption??
Ulrich L.
Monday 20 December 2004 3:25:34 am
ad 1)admin siteaccess -> setup -> cache management
ad 2)Did you alraedy start getting into the template system and the tamplate language? The presentation of the image is controlled by a certain template. While changing or better overriding it you control the output according to your design ideas.
Monday 20 December 2004 6:19:51 pm
ok. thanks alot.. and for the image, how can i call the image randomly?? any functions??
<option value="{$:item.id}">{$:item.name|wash}</option>
where the the item.id n item.name placed in?? which file or function??