codycreepcore
10-08-2007, 07:11 PM
hey im trying to build a new website for my band and i found some code to make a pop-up window so i can display lyrics from our releases/discography page.
i had it so that the first 2 songs at the top of the releases page worked so that when you clicked the lyrics for "endless blockades" and "subvert" it popped open the lyrics page and went to the correct song.
so i copied the code and applied it to each song....
NOW NOTHING WORKS!
i attached the .txt files of code so you can take a look. please help!
thanks
cody
batterj2
10-09-2007, 09:01 AM
function launchundead() {
"lyrics.html#undead", "myremote3", "height=689,width=500,screenx=630,left=630,screenY=110,top=110,channelmode=0,dependent=0,directories= 0,fullscreen=0,location=0,menubar=0,resizable=0,scrollbars=1,status=0,toolbar=0", "myWindow3");
}
should be
function launchundead() {
myremote3 = launch3("lyrics.html#undead", "myremote3", "height=689,width=500,screenx=630,left=630,screenY=110,top=110,channelmode=0,dependent=0,directories= 0,fullscreen=0,location=0,menubar=0,resizable=0,scrollbars=1,status=0,toolbar=0", "myWindow3");
}
on line 198 in the releases file.
coothead
10-09-2007, 11:16 AM
Hi there codycreepcore,
and a warm welcome to these forums. :agree:
batterj2 has pointed out the code that was causing your problem.
Actually all those functions are a perfect example of code bloat and can be done away with. :agree:
Check out the attachment which has your pages corrected and validated.
codycreepcore
10-10-2007, 05:00 PM
thanks guys. i dont do that much html. only like once a year when i update/re-design my bands page.
codycreepcore
10-10-2007, 05:30 PM
i had it so that it was a fixed size new pop up window when you clicked the link. how do i do that now without javascript?
do i just do like a target="_new" thinger with something else for size?
coothead
10-10-2007, 05:52 PM
Hi there codycreepcore
I had it so that it was a fixed size new pop up window when you clicked the link. how do I do that now without javascript?
Are you talking about the files that were included within the attachment?
If so you will find that there are 2 .html files, 1 .css file and 1 .js file. ;)
Just double click on the releases.html file to see the page.
As for the pop up window, that will work as expected when the appropriate links are clicked. :agree:
vBulletin® v3.6.7, Copyright ©2000-2009, Jelsoft Enterprises Ltd.