Help
-
Search
-
Members
-
Calendar
Full Version:
2 scripts and its really screwed up
HTMLHelp Forums
>
Programming
>
Client-side Scripting
oddcarout
Jan 7 2007, 05:19 PM
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
Jan 7 2007, 05:34 PM
"Put this script after the HTML list (else use window.onload)".
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
Jan 7 2007, 07:10 PM
? 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
Jan 8 2007, 04:48 AM
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
Jan 9 2007, 12:19 PM
Sorry CJ but now I am really lost. do i put the actual script there or just that line?
thanks
Christian J
Jan 9 2007, 01:38 PM
The actual script.
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.