Help with Javascript floating layer on hyperlink click

kufire

Joined: 2007-07-26
Posts: 5
Posted: Thu, 2007-07-26 08:59

http://tools.devshed.com/webmaster-tools/floating-layer/

I am looking to integrate floating layers for two different links that I included in the navigation menu (to display contact info/quick bio).

I have already put in custom links and would like to be able to use the floating layers but can't seem to get it to work. Instead of telling you what I have done (all combinations of which are wrong), could someone please tell me the correct way to implement this?

Also, I want the layers to be initially invisible, visible only upon clicking the link. I have already tried running ToggleFloatingLayer('FloatingLayer',0) first, but for some reason it doesn't work except as a link/button that is pressed to hide it.

Thank you for your help!

Login or register to post comments
floridave
floridave's picture

Joined: 2003-12-22
Posts: 18451
Posted: Thu, 2007-07-26 13:29

Add javascript with the {literal} ....... {/literal} tags

http://smarty.php.net/manual/en/language.function.literal.php

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

Login or register to post comments
kufire

Joined: 2007-07-26
Posts: 5
Posted: Thu, 2007-07-26 18:06

Thank you for that.

Now that I have placed the code in theme.tpl, I have a problem. The window does not open where I specified it, nor is it movable. I can't figure it out.

-EDIT-
I'm just going to start a new topic for suggestions on how to handle this design question rather than trying to reverse engineer code I barely understand. It's been...5 years since I've had a CS class =T

Login or register to post comments