|
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..???????
|
|
|
|
|
Hi Can anyone help me,
I want to disable the click sound when i click on a link to load a new page in a frame.
is this possible?
I know i can do this through control panel...
but i want to do it using javascript.
Thanx alot
|
|
|
|
|
That is only possible by using javascript to fetch the content instead of loading a new page.
---
b { font-weight: normal; }
|
|
|
|
|
Unfortunately we have to post variables from another page, i doubt if it will then be possible.
The variables that we receive is not part of the form that does the posting, it is to indicate witch category must be loaded in the main frame.
Thanks for your response.
|
|
|
|
|
Hello,
I developped an application using some ajax that does several common Active Directory tasks like creating a user, deleting one, ...
One of these is to move a user's home directory from one server to another. And here comes my "problem".
My application calls an asp page that create an ActiveX dll which will do all the copying of the files.
Problem is this may takes hours depending on the amount of datas and the speed of the lines between servers and therefore the user ( well the network admins ) doesn't get to see anything of the progress.
What would you do to show some progress ? I must use an ActiveX dll (for authentification reasons) to do the moving other than that I think I'm pretty free to do what I want.
I already tried to go multithread on my ActiveX but since VB6 doesn't handle multithreading at all, it was a no-go.
Any idea / suggestion are more than welcome.
Thanks a lot !
|
|
|
|
|
Um...is there a good reason why you can't use the Progress bar control?
(Oh and VB does do multithreading - but only apartment threaded)
"Now I guess I'll sit back and watch people misinterpret what I just said......"
Christian Graus At The Soapbox
|
|
|
|