|
|
it would be a of great help if i could get any help on the Javascript on it thank u
|
|
|
|
|
Where would I go for finding client side JavaScript for a button to expand / collapse a block of html? (IE5 is guaranteed)?
*ANAPQ - Arguably not a programming question, since the majority agrees: pretty web pages is not programming
Some of us walk the memory lane, others plummet into a rabbit hole
Tree<t> in C# || Fold With Us! || sighist
-- modified at 11:19 Wednesday 21st June, 2006
|
|
|
|
|
I'm a big fan of scriptaculous[^].
And when we saw the computer, when we saw its code - and Turing saw it first - we were looking at complexity incarnate. And then suddenly we saw complexity everywhere. It materialized, it crystalized around us - even though it had always been there. We have yet to recover from the shock.
|
|
|
|
|
Their demos are too slow - I've done autocomplete, list sorting, etc, with much better perf. [Athough maybe it's just on my computer...]
|
|
|
|
|
Their code has more fancy smancy things than the bare bones necessary.
However, I find it to my liking, and it usually performs better on FF than IE for some reason
"Democracy is two wolves and a sheep voting on what to have for dinner" - Ross
Edbert
Sydney, Australia
|
|
|
|
|
|
peterchen wrote: since the majority agrees: pretty web pages is not programming
I hope you're wearing flame-proof pants
Ryan "Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"
|
|
|
|
|
|
el.style.display = visible ? '' : 'none';
where el is the element, and visible is a boolean.
|
|
|
|
|
peterchen wrote: *ANAPQ - Arguably not a programming question, since the majority agrees: pretty web pages is not programming
I do agree
|
|
|
|
|
|
You mean like my MATH link has? CSS and JS combined. They seem to be everywhere these days.
"Religion is assurance in numbers." - Bassam Abdul-Baki
Web - Blog - RSS - Math
|
|
|
|
|
Heh, i suppose you could even "View Source" on these forums...
|
|
|
|
|
i have created the header,footer and sidemene in .asp
How do i ....add it to my other content page?
wat code do i need to type? is it type the coding on all my content page?
already been 1 week i havent link it to the content to my boss~~~~~ sigh~
|
|
|
|
|
You can do something like:
<body>
<!-- #include file="header.asp" -->
Page content here.
<!-- #include file="footer.asp" -->
</body>
|
|
|
|
|
how bout if i want to add to left hand side of the content? which i put for my menu botton.
|
|
|
|
|
The anti-table people will cringe...but you could do something like:
<body>
<!-- #include file="header.asp" -->
<table border=0 cellpadding=0 cellspacing=0>
<tr>
<td>
<!-- #include file="sidemenu.asp" -->
</td>
<td>
Page content here.
</td>
</tr>
</table>
<!-- #include file="footer.asp" -->
</body>
- S
50 cups of coffee and you know it's on!
|
|
|
|
|
beside using table is there anyother way?? cause quick troublesome to add another table since i'm maitaining the old site which have more then 30 pages there....
|
|
|
|
|
Well...you're going to have to modify the 30+ pages to use your new header, footer, sidemenu scheme, but at least you can include and not have to cut and paste.
An alternative would be to use frames, but I've never ventured down that road, so maybe google it.
- S
50 cups of coffee and you know it's on!
|
|
|
|
|
yes true, thanks for the code anyway
btw, i wonder y using frames is not good for business site? most of the commerce site they dont use frame.. any disadvantage about it?
-- modified at 2:08 Thursday 22nd June, 2006
|
|
|
|
|
I've heard just to avoid frames in general, but don't know the details. My experience is that every site I've visited that used frames sucked real bad. I'm sure you can find something on google or CP about why it is bad to use frames.
- S
50 cups of coffee and you know it's on!
|
|
|
|
|
There is some problem ~
when i just add the include for footer which lower botom my content page still remain in dreamweaver design but when i add another include for the header, i only see my header in the dreamweaer design layout??? wat happen? but when i test it the full page is coming out nice.... ??? have u use dreamweaver to create asp site????
my company old site was used front page to create... but now i using dreamweaver will it effect the layout? cause i having problem when edit the old page...
|
|
|
|
|
I've never used Dreamweaver, so can't help you. I hand code everything, which may seem stupid, but it produces nice readable, updatable html.
I've looked at some Dreamweaver files, and it made me want to turn my stomach inside out and wash it with chlorine. What I saw was a lot of absolute positioned DIVs, and if you try to modify the html, everything was broken.
Sorry, maybe someone else can help....
- S
50 cups of coffee and you know it's on!
|
|
|
|
|
i having problem showing the header and footer... at first i try use in dreamweaver i press F12 the header and footer come out correctly, but when i type the addess to show the index.asp the header and footer was not there??~?~?~ wat happen? even my other page also didnt show up. i had already put the include code there..???????
|
|
|
|