pop up windows in a linkset

Me again :-) anyways, I have over 100- pictures uploaded on my website and i was wonder..now that i have them as a slideshow, how can i make the links on the main page to the page with the slideshow pop up when the link is clicked..<br />
<br />
dont get me wrong, i knwo the code and all..but one problem, i have linsets and mouse over menus in which contains the link i was to have clicked when the window popsup <br />
<br />
for a better idea go to:<br />
<br />
<!-- w --><a class="postlink" href="http://www.angelfire.com/pro/bostonredsox">www.angelfire.com/pro/bostonredsox</a><!-- w --><br />
<br />
mouse over the spring training pics...the 3-4 links in that pop up menu are the ones i want to have the window.open command...<br />
<br />
how do i set that up?<!--content-->Change your <a href...> to something like this:<br />
<br />
<a href=http://www.webdeveloper.com/forum/archive/index.php/"your.htm" onClick="window.open('this.href','name','width=400,height=300')"><!--content-->this.href? isnt it supposed to be the name of the page u want opening up too? like...the page i want to pop up is springbatting2003.html so wouldnt it be<br />
<br />
<a href=http://www.webdeveloper.com/forum/archive/index.php/"springbatting2003.html" onClick="window.open('springbatting2003.html','SpringBatting2003','width=400,height=300')"><br />
<br />
yes? no?<!--content-->this.href will return your link value...If you'd rather hard code the values in, that will, of course, work as well....<!--content-->linkset[4]='<div class="menuitems"><a href=http://www.webdeveloper.com/forum/archive/index.php/"springbatting2003.html" onClick="window.open('this.href','springbatting2003','width=400,height=300')">Batting Practice</a></div>'<br />
<br />
that is what i have...is that correct? if it is, then it is messing up my code.<br />
<br />
when i have that in, my pop up menu no longer work...<!--content-->Perhaps try it without the '' around the this.href, like so:<br />
<br />
linkset[4]='<div class="menuitems"><a href=http://www.webdeveloper.com/forum/archive/index.php/"springbatting2003.html" onClick="window.open(this.href,'springbatting2003','width=400,height=300')">Batting Practice</a></div>'<!--content-->nope, menus still dont appear...i dont understand why its not working? <br />
<br />
are you capable of doing pop up windows from a pop up menu?<br />
<br />
this is the entire linkset<br />
<br />
linkset[4]+='<div class="menuitems"><a href=http://www.webdeveloper.com/forum/archive/index.php/"http://www.angelfire.com/pro/bostonredsox/springbatting2003.html">Batting Practice</a></div>'<br />
linkset[4]+='<div class="menuitems"><a href=http://www.webdeveloper.com/forum/archive/index.php/"http://www.angelfire.com/pro/bostonredsox/springpitching2003.html">Pitching Practice</a></div>'<br />
linkset[4]+='<div class="menuitems"><a href=http://www.webdeveloper.com/forum/archive/index.php/"http://www.angelfire.com/pro/bostonredsox/springfielding2003.html">Fielding Practice</a></div>'<br />
linkset[4]+='<div class="menuitems"><a href=http://www.webdeveloper.com/forum/archive/index.php/"http://www.angelfire.com/pro/bostonredsox/springmisc2003.html">Miscellaneous Spring</a></div>'<br />
<br />
<br />
if you go to <!-- w --><a class="postlink" href="http://www.angelfire.com/pro/bostonredsox">www.angelfire.com/pro/bostonredsox</a><!-- w --> you can view the source maybe and see whats wrong?<!--content-->i am unsure, i saw this on the htmlgoodies and didnt see in the part about pop up call function(or whatever the technical name im trying to do) that you would need a<br />
<br />
<script etc etc><br />
<br />
i do not have one for this, if i do need one, where would i place it and the closing one too..?<!--content-->Here is the code that you need:<br />
<br />
linkset[4]='<div class="menuitems"><a href=http://www.webdeveloper.com/forum/archive/index.php/"http://www.angelfire.com/pro/bostonredsox/springbatting2003.html" onClick="window.open(this.href,\'springbatting2003\',\'width=400,height=300\');return false;">Batting Practice</a></div>'<br />
linkset[4]+='<div class="menuitems"><a href=http://www.webdeveloper.com/forum/archive/index.php/"http://www.angelfire.com/pro/bostonredsox/springpitching2003.html" onClick="window.open(this.href,\'springbatting2003\',\'width=400,height=300\');return false;">Pitching Practice</a></div>'<br />
linkset[4]+='<div class="menuitems"><a href=http://www.webdeveloper.com/forum/archive/index.php/"http://www.angelfire.com/pro/bostonredsox/springfielding2003.html" onClick="window.open(this.href,\'springbatting2003\',\'width=400,height=300\');return false;">Fielding Practice</a></div>'<br />
linkset[4]+='<div class="menuitems"><a href=http://www.webdeveloper.com/forum/archive/index.php/"http://www.angelfire.com/pro/bostonredsox/springmisc2003.html" onClick="window.open(this.href,\'springbatting2003\',\'width=400,height=300\');return false;">Miscellaneous Spring</a></div>'Minus those extra line breaks...<!--content-->pop up menus still dont appear anymore...<!--content-->Try this, it works fine for me in IE6...<!--content-->thank you. its working now, but i dont understand why it wasnt..i noticed you added some "/" in there..<!--content-->Yes, the extra \ were needed to escape the original ' 's that you had... ;)<!--content-->
 
Back
Top