Jump to content
xisto Community
Sign in to follow this  
Rohan Ramanath

Status Bar Effect Have your own text running in the status bar

Recommended Posts

Insert this code into the head of your page and the second script in the body tag of your page

<script LANGUAGE="JavaScript">var speed = 50var pause = 2000var timerID = nullvar bannerRunning = falsevar ar = new Array()ar[0] = "This template was designed by solutions4u and for more templates please do visit http://www.solutions4u.co.nr/ var http://designerwiz.com/ bannerRunning messagevar currentMessage = 0var offset = 0function stopBanner() {	if (bannerRunning)	clearTimeout (timerID)	bannerRunning = false}function startBanner() {	stopBanner()	showBanner()}function showBanner() {	var text = ar[currentMessage]	if (offset < text.length) {	if (text.charAt(offset) == " ")		offset++		var partialMessage = text.substring(0, offset + 1)		window.status = partialMessage		offset++		timerID = setTimeout("showBanner()", speed)		bannerRunning = true	} else {		offset = 0		currentMessage++		if (currentMessage == ar.length)			currentMessage = 0		timerID = setTimeout("showBanner()", pause)		bannerRunning = true	}}// -->	</SCRIPT>
Script number 2
onLoad = "startBanner();"
insert this into the body tag and it will work .
For more queries please mail me at rohanramanath@gmail.com
Dean :: Solutions4u Enterprises

Share this post


Link to post
Share on other sites

I'll give this a try... Might be good for a copyright notice for created work posted on a site. Do you have anything or know how to create anything that does not allow right-clicking and saving of an image or something like clicking on a thumb nail on a contact sheet (photo index of thumbnails) and when you click on a thumbnail a popup window will appear (compatible with all browsers) with an image the size of the image resolution and not allow saving page or right-clicking? An no caching on the client PC. Or if the do right click and save they just get the thumbnail rather than the original image/photo.That would be cool and something I'd be interested in experimenting with. :mellow:

Share this post


Link to post
Share on other sites

cant get the effect... i m just getting onLoad = "startBanner();" in my browser

Replace the <body> with <body onLoad="startBanner()">

 

I'll give this a try... Might be good for a copyright notice for created work posted on a site. Do you have anything or know how to create anything that does not allow right-clicking and saving of an image or something like clicking on a thumb nail on a contact sheet (photo index of thumbnails) and when you click on a thumbnail a popup window will appear (compatible with all browsers) with an image the size of the image resolution and not allow saving page or right-clicking? An no caching on the client PC. Or if the do right click and save they just get the thumbnail rather than the original image/photo.

 

That would be cool and something I'd be interested in experimenting with. :mellow:

No caching on the client is impossible, to see something it must be downloaded. That fact makes all the rest impossible in any worthwhile sense.

Share this post


Link to post
Share on other sites

No caching on the client is impossible, to see something it must be downloaded. That fact makes all the rest impossible in any worthwhile sense.

I know. Someone can just go to C:\Documents and Settings\ceba\Local Settings\Temporary Internet Files\Content.IE5\!@#$%^. I did this one time cause I wanted a picture and it worked. You can also pull up email, online database info, etc. Usually the browser has to be offline.

I was curious some sites don't show this information when your offline. I was wondering how they do this. I believe it is a page showing another outside page which may or may not have frames or something. I think i query's your browser or does something having to do with the session or cookie. Do you know what I mean.

Share this post


Link to post
Share on other sites

Along with cookies, the server can tell the browser not to cache it. I'm not entirely sure how this goes, but it's something like it still downloads it, but always goes online to the original website for a new version.

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.