Jump to content
xisto Community
Sign in to follow this  
apollo

More Stuff With Html And Php

Recommended Posts

Adding file to your page
Maybe 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 background
Place code between BODY tags

<body background ="yourimage.gif" bgproperties="fixed"> 

Status Bar Link Description
You 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

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

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

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

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

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

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

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.