PDA

View Full Version : Reference Error in html open js file as download


Alegrio
10-01-2006, 02:15 AM
Yikers,
My page at
http://www.whispering-baby-names.com
has a tab panel, halfway down page.
Cliking on a tab opens a dialogue box to open or download file,

I had to change the file locations, all js iles have to be in a support-files folder, all image files hav to be in a image-files folder.
When the tab panel is made, it puts everything in one main folder.

In moving these I have messed up, I have numerous panels throughout this site and have used the same code, but this one is doing it's own thing!


Thanks,
Alegrio

davidj
10-02-2006, 07:51 AM
link you posted does not work

domedia
10-02-2006, 12:18 PM
I'm guessing a 's' was left out there:
http://www.whispering-baby-names.com/

davidj
10-02-2006, 12:42 PM
ok cheers for sorting out the URL

now can you find the problem coz i cant!

domedia
10-02-2006, 01:17 PM
Nope I can't :-(

Allegrio, want to help us out find the problem here? :)

Alegrio
10-02-2006, 07:25 PM
Hello,
I posted in the pvii forum as well and was given the code below which did fix.

It is working fine now,
Sorry about the s :oops:


> You need to change the links for the tab panels to javascript:; to make
> null links
>
> Then you need to apply the Tab Panel Magic-Panel Trigger behavior to the
> null links
>
> Your links should look like this:
>
> <div id="p7tpb1_1" class="down"> onClick="P7_TPtrig('p7tpc1_1')">Top 100 Baby Names (javascript:;)</div>
> <div id="p7tpb1_2"> onClick="P7_TPtrig('p7tpc1_2')">The Meaning Of Names (javascript:;)</div>



Thanks,
Alegrio