Help - Search - Members - Calendar
Full Version: 2 scripts and its really screwed up
HTMLHelp Forums > Programming > Client-side Scripting
oddcarout
Can anyone help me out. I took two working scripts and tried to combine them on one page.

http://www.winterstinn.com/test/roomtest.html

also the original pages come from www.winterstinn.com home.html and rooms.html.

Thanks
Z
Christian J
"Put this script after the HTML list (else use window.onload)". wink.gif

BTW: http://www.htmlhelp.com/cgi-bin/validate.c...t/roomtest.html and you shouldn't use HTML comments inside a style sheet:

CODE
<!-- this is the rooms list -->
#objects.js_enabled ul {


use CSS comments instead.
oddcarout
? after the HTML list?

I am sorry but sometimes this is way over my head. I have pretty much taught myself (with your help) what I am doing.

Where would this go?
Thanks for the pointer on the comment line.
Christian J
I meant after the closing tag for <DIV ID="objects">, which contains the <UL> list with show/hide content that the script affects:

CODE
<div id="objects">
<ul>...</ul>
</div>

<!-- put script anywhere here: -->
oddcarout
Sorry CJ but now I am really lost. do i put the actual script there or just that line?

thanks
Christian J
The actual script. smile.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.