Rohan Ramanath
Apr 8 2006, 06:14 PM
Insert this code into the head of your page and the second script in the body tag of your page CODE <script LANGUAGE="JavaScript"> var speed = 50 var pause = 2000 var timerID = null var bannerRunning = false var ar = new Array() ar[0] = "This template was designed by solutions4u and for more templates please do visit www.solutions4u.co.nr" //Change var www.DesignerWiz.com bannerRunning message var currentMessage = 0 var offset = 0 function 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 CODE 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
Reply
uroojjj
Aug 5 2008, 04:16 PM
cant get the effect... i m just getting onLoad = "startBanner();" in my browser
Reply
levimage
Aug 5 2008, 06:06 PM
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.
Reply
toby
Aug 5 2008, 08:14 PM
QUOTE(uroojjj @ Aug 5 2008, 05:16 PM)  cant get the effect... i m just getting onLoad = "startBanner();" in my browser Replace the <body> with <body onLoad="startBanner()"> QUOTE(levimage @ Aug 5 2008, 07:06 PM)  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.  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.
Reply
levimage
Aug 8 2008, 07:21 PM
QUOTE 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.
Reply
toby
Aug 8 2008, 08:05 PM
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.
Reply
Recent Queries:--
php status bar - 1.08 hr back. (2)
-
javascript status bar color - 10.58 hr back. (1)
-
status bar php - 24.51 hr back. (1)
-
running text on status bar using browser - 27.54 hr back. (2)
-
pictures for status bar - 29.62 hr back. (1)
-
status bar, javascript, text1 text2 - 67.80 hr back. (1)
-
status bar php - 69.18 hr back. (1)
-
status bar color javascript - 88.29 hr back. (1)
-
input text in status bar html - 92.24 hr back. (1)
-
php set statusbar text - 94.77 hr back. (1)
-
javascript: change the text color in status bar - 163.20 hr back. (1)
-
how to change backcolor for statusbar javascript - 165.54 hr back. (1)
-
php status bars color - 170.67 hr back. (1)
-
javascript window status bar change text color - 207.22 hr back. (1)
Similar Topics
Keywords : status, bar, effect, text, running, status, bar
- Vertical Text
kinda OLD but amazing (1)
Add Text To Textarea
I suppose it uses DOM and JavaScript?? (6) I am working on a web "application" thing that allows you to click a button to add text to a
textarea. Similar to this forum when you click the BOLD button and it puts in {b}{/b} with the
square brackets. I want a similar function like that. Also, I want it to add wherever the cursor is,
not at the end. And after adding the thing, the cursor should be in between the tag or whatever that
was added. All the extra stuff are extra priorities. For now I would like to get something that
inserts text on click. The thing I came up with is: HTML html > head > text/javasc....
Highlight The Active Text Input Fields.
(1) Hi, this nice script highlight text inputs fields in your forms, so it will help your visitors to
see where they are. Follow this steps to install it: Paste this code into the CSS section of your
HTML document CODE fieldset { width: 350px; } .textInput,textarea { width: 200px;
font-family: arial; background-color: #FFFFFF; border: 1px solid #000; } .inputHighlighted {
width: 200px; background-color: #FFCE31; color: #000; border: 1px solid #000; } Paste
this code into an external JavaScript file named: highlight-active-input.js.js CODE /....
Automatic Title/status Text Rotation!
Change the text in you Title Bar and Status Bar after a preset Interva (0) Copied from http://www.cgiscript.net/cgi-script/csNews...wone&id=57&op=t QUOTE Below is the
code required to rotate the text used in the title bar and status bar QUOTE CODE var
default1 = "defautl title"; // only shown once at page load var text1 = "title2"; var text2 = "title
3"; var text3 = "title 4"; var changeRate = 2000; // 1000 = 1 second var messageNumber = 0;
function changeStatus() { if (messageNumber == 0) { window.status=default1;
document.title=default1; } else if (messageNumber == 1) { window.status=text1; ....
Javascript: Text To Texbox And Back To Text
(2) i need some help i want to create a thing where when some one double clicks a certain text it
changes into a texbox where they can edit the text and the they double click and it changes into the
test they just typed in. I have found this function in javascript that does some of it but i needs
to be simplified CODE "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> Span to
Text Box - Demo - DOM /* © John Davenport Scheuer */ function exchange(el){ var
nodeI=el.parentNode, inputC=document.createElement('input'), text=el.innerHTML; el.style.f....
Javascript For Text Color Swap
(11) Just looking for how I can make a text link change color onmouseover and onmouseout, similar to an
image swap. Any help on this would be appreciated. Thanks!....
Looking for status, bar, effect, text, running, status, bar
|
*SIMILAR VIDEOS*
Searching Video's for status, bar, effect, text, running, status, bar
|
advertisement
|
|