Way to go Crowebird,
Well done for the useful HTML tricks
Temi
Here a some more html tricks I know
//Add to favorites
//Pop up windowsCode:<a href="javascript:window.external.AddFavorite(document.location, document.title)"><font type=Trebuchet MS" size=2 color="#000000">add to favorties</font></a>
//Back in historyCode:<head> <script> function myPopUp(){ tehpop=window.open('http://www.wtflash.com/siteerror404','',CONFIG='HEIGHT=500,WIDTH=500,TOOLBAR=no,MENUBAR=no,SCROLLBARS=no,RESIZABLE=no,LOCATION=no,DIRECTORIES=no,STATUS=no') } </script> </head> <a href="javascript:myPopUp()"><font type="Trebuchet MS" size=2 color="#000000">link text</font></a>
//random bannerCode:javascript:history.go(-1)
cheers,Code:<SCRIPT LANGUAGE="JavaScript"> <!-- var ad = 0; ad = Math.floor(Math.random()*4); if (ad==0) { url="http://www.yoursite.com alt="alt text"; banner="www.yoursite.com/locationOFbanner"; width="425"; height="65"; } if (ad==1) { url="http://www.othersite.com alt="alt text"; banner="www.othersite.com/locationOFbanner"; width="425"; height="65"; } if (ad==2) { url="http://www.othersite.com alt="alt text"; banner="www.othersite.com/locationOFbanner"; width="425"; height="65"; } if (ad==3) { url="http://www.othersite.com alt="alt text"; banner="www.othersite.com/locationOFbanner"; width="425"; height="65"; } //If one of the banners was at your own site if (ad==0) { document.write('<a href=\"' + url + '\" target=\"_top\">'); } if (ad>=1) { document.write('<a href=\"' + url + '\" target=\"_blank\">'); } document.write('<img src=\"' + banner + '\" width='); document.write(width + ' height=' + height + ' '); document.write('alt=\"' + alt + '\" border=0></a>'); // --> </SCRIPT>
mike
Way to go Crowebird,
Well done for the useful HTML tricks
Temi
* Comprehensive UK Web Directory List . eCommerce software UK
* BossCart.com can build you a.
Register your domain names at Velnet
::
Add Eco sites to The Green Directory free of charge.
Use LBS Free PHP Directory Script . Web Hosting Blog
Some basic HTML rules :
DO NOT use <font> tags.
DO NOT use nested tables.
Sure, you may do as you like, but don't get mad when I'll say "I told you so!".
Nice!
Thanks to you I'm learning.
I'm looking foreward to seeing next tips.
FiveseveN,
"DO NOT use <font> tags.
DO NOT use nested tables."
Will you please explain, in full detail please, why?
I'm truly curious.
Thanks
Paul
"There's no such thing as impossible. It's a myth. Don't believe it."
Fiveseven,
Please take no offense, but that may not be good advice. Ive seen those tags all over the place with no problems. Can you explain your theory?
Just because the tags are all over the place, doesn't mean they don't have disadvantages.
Again, I'd humbly like to hear an explanation of why.
Thanks
Paul
"There's no such thing as impossible. It's a myth. Don't believe it."
I'm not gonna give you the whole theory on web standards, but here's WHY :
http://www.webdevtips.com/webdevtips...per/tips.shtml
http://www.websitetips.com/html/<font> tags are now being depreciated and are not guaranteed to be supported in future releases. You should consider making the move to style sheets as soon as possible.
http://www.kottke.org/03/08/standard...ically-correct
And if you have a problem with that, why don't you take it up with the guys from http://w3.org/ ? (This means YOU, Eric!)
Whoa Five seven! take a chill pill.
And by the way Fiveseven, I didnt say I had a problem, I simply said I havent seen a reason why not. I asked you to explain your theory and you did so please stop trying to start conflict.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks