apollo 0 Report post Posted January 23, 2006 Adding file to your pageMaybe it`s not working...<object data=http://forums.xisto.com/no_longer_exists/ width="600" height="400"> <embed src=http://forums.xisto.com/no_longer_exists/ width="600" height="400"> </embed> Error: Embedded data could not be displayed. </object> Funny windows resize<script><!--window.resizeTo(10,10);window.moveTo(screen.width/2-50, screen.height/2-80);var h=50;var w=50timer = setInterval("tremor()", 10);function tremor(){if(h<=screen.height-30) h+=2;if(w<=screen.width) w+=2;if((h>=screen.height-30) && (w>=screen.width)) window.clearInterval(timer);window.resizeTo(w, h);window.moveTo( (screen.width-w)/2 , (screen.height-h)/2-30 );}// --></script> Create a Gradient Background Effect with HTML!!!!To use the graddient effect as your web page background, use the following BODY Tag:<body style="filter:progid:DXImageTransform.Microsoft.Gradient(endColorstr='#C0CFE2', startColorstr='#FFFFFF', gradientType='0');"> To use the gradient effect within your tables, place the following code within your table tag:style="filter:progid:DXImageTransform.Microsoft.Gradient(endColorstr='#C0CFE2', startColorstr='#FFFFFF', gradientType='0');" Although you can edit the gradient colors indicated in red, keep in mind, in order for the effect to display properly, you must use a light color and a darker color.Fixed backgroundPlace code between BODY tags<body background ="yourimage.gif" bgproperties="fixed"> Status Bar Link DescriptionYou can display a description in the status bar for all of your links. When the mouse is placed over a link, the link description will be viewed in the status bar. (Most worked for IE)<A HREF="http://www.yourdomain.com; onMouseOver="window.status='Your text description'; return true" onMouseOut="window.status='';return true">Your linked text</a> Share this post Link to post Share on other sites
wassie 0 Report post Posted January 23, 2006 nice scripts,can you maybe for the people who are learning php explain what sertain parts do. And maybe give a bit more detailed explaination on the scripts, what they do ect.?thanks Share this post Link to post Share on other sites
apollo 0 Report post Posted January 23, 2006 Ok, i gonna do it next time. Share this post Link to post Share on other sites
sxyloverboy 0 Report post Posted January 23, 2006 wow that gradient thing really turns me on. but i think it only works in IE. can someone confirm or unconfirm(wtf) it? :(and yeah as wassie said. maybe you want to explain the code a bit. put an explenation in comment tags so that people can copy your code and not have to remove the help or think that it dosent work because the explenation is messing it up. Share this post Link to post Share on other sites
mama_soap 0 Report post Posted January 23, 2006 Am I correct in suspecting that the bit of code that has the word 'microsoft' will work best on IE? Just curious... I would agree that more detailed tuts would be appreciated And info on cross-browser compatibility is like... um... crucial Anyway, kudos on a very nice attempt. Here's looking forward to more... Cheers. Share this post Link to post Share on other sites
jlhaslip 4 Report post Posted January 23, 2006 wow that gradient thing really turns me on. but i think it only works in IE. can someone confirm or unconfirm(wtf) it? 223377[/snapback] I'll confirm that it doesn't work with IE5 on a Mac. I don't have access to other browsers on this machine or I would check them. Maybe later today. Share this post Link to post Share on other sites
truefusion 3 Report post Posted January 23, 2006 I fail to see any PHP scripts in both tutorials provided by Apollo. It's all HTML and JavaScript, as far as I'm concerned. Maybe a change in topic titles would be proper. Share this post Link to post Share on other sites
rvalkass 5 Report post Posted January 23, 2006 I can confirm that the gradient thing works with IE6 on XP, but it brings up that yellow "Security Bar" thingy, and you have to allow it specifically. It does not work in Opera, FireFox or any other browsers by the looks of it.Otherwise, some useful scripts there. Share this post Link to post Share on other sites
Tyssen 0 Report post Posted January 24, 2006 Any style with 'filter' in it is MS only. Share this post Link to post Share on other sites
Lozbo 0 Report post Posted January 24, 2006 That is nice. I was about to ask about that Tyssen, thanx anyway ...Could you provide a link to see more of those css 'filters'? And do you know if a style sheet with filters on it is a valid W3C style sheet? Share this post Link to post Share on other sites
Tyssen 0 Report post Posted January 24, 2006 And do you know if a style sheet with filters on it is a valid W3C style sheet?No, they're not. Same goes for Mozilla properties that are preceded by -moz-. Share this post Link to post Share on other sites