PDA

View Full Version : Can AnylinkCss links open in pop up?



jodywallace
12-13-2009, 09:52 PM
1) Script Title:
Drop Down Menu Code
2) Script URL (on DD):
http://www.dynamicdrive.com/dynamicindex1/anylinkcss.htm
3) Describe problem: http://www.norwalkmoose.org/index2.html
About 2/3s of the way down the page, in the left column, is a corkboard sign graphic with "Videos" on it. I want to have these videos open in a seperate pop up window. Is this possible?
Thanks in advance for anyones help!
Jody

bluewalrus
12-13-2009, 09:59 PM
http://www.nickstakenburg.com/projects/lightview/

There's a similar free version of that somewhere as well but can't seem to find it right now, maybe someone else knows.

jodywallace
12-13-2009, 10:13 PM
Thanks but I really like the code I'm using. I just want to modify it. :D

jscheuer1
12-14-2009, 02:00 AM
linkset[0]='Videos <div class="menuitems"><A href="http://www.mooseintl.org/Video/WelTMoose/WelToMoose.swf" target="_blank" onclick="window.open(this.href, this.target, \'width=300, height=300\');return false;"><LI>Welcome to the Moose</A> </div>'

jodywallace
12-14-2009, 04:06 PM
Thank you so much for the response... but please forgive my ignorance. What do I add in the highlighted area? I tried the URL and target= "_blank" , but that didn't work. Thanks for your patience.
Jody

linkset[0]='Videos <div class="menuitems"><A href="http://www.mooseintl.org/Video/WelTMoose/WelToMoose.swf" target="_blank" onclick="window.open(this.href, this.target, \'width=300, height=300\');return false;"><LI>Welcome to the Moose</A> </div>'

jscheuer1
12-14-2009, 04:14 PM
Nothing. Use the code 'as is'. Those tokens reference the actual href and target values of the link. If you want a different URL, change this part:


href="http://www.mooseintl.org/Video/WelTMoose/WelToMoose.swf"

You probably shouldn't change the target.

jodywallace
12-14-2009, 04:18 PM
Will this work on FireFox?

jscheuer1
12-14-2009, 04:23 PM
Why not? Of course it will, as long as there are no typos. If you have any problems, let me know, and provide a link to the problem page.

jodywallace
12-15-2009, 03:53 PM
:) THANK YOU, THANK YOU, THANK YOU!!!
John, You sir are a godsend! It's working great!!
I really appreciate the help.
><>
Have a Merry Christmas,
Jody