•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the JavaScript / DHTML / AJAX section within the Web Development category of DaniWeb, a massive community of 427,988 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,501 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JavaScript / DHTML / AJAX advertiser: Lunarpages Web Hosting
•
•
•
•
•
•
•
•
Add to....Board Wrappers: Footer
No need to really change anything in the code, if you want to select a different default URL just change the variable in the top of the script. It's there so that at least some URL is added to the website url field.
You can't add extra ones to the drop down, this... (View Snippet)
A simple way to create rainbow colored text on your web page. Just cut and paste the code into Notepad, save as Rainbow.htm and run it on your browser. (View Snippet)
You probably have seen those message snakes following the cursor on a web page. Well, the javascript code is not too complex, so let's look at it ... (View Snippet)
It is a simple one and a more complex one will be here soon
this code has not been tested but it works well on IE 6.0+
Do enjoy and Comment it Please (View Snippet)
I browsed google and found nothing so thought i would put my efforts up here.
hope this all helps.
this function will allow you to return the number of days between two dates minus saturdays and sundays. (including the start date) (View Snippet)
Random numbers from 1-50 are drawn and displayed in a alert dialog box. (View Snippet)
Check this for disable Right Click Permissions (View Snippet)
First take two images named with smirk1.jpg and smirk2.jpg with same size
paste below code and for Image write this code
<IMG src="smirk1.jpg" name="smirk" onMouseOver="over(0);" onMouseOut="out(0);" /> (View Snippet)
This method escapes all &, <, and > symbols in the string, making it safe to display the string on a web page without fear that it will be treated as HTML. (View Snippet)
Making a calendar is a bit more complex than making a timer or clock but mostly because any calendar script is going to be generating HTML to display the calendar and whenever you have programs writing programs things always get a bit funky! We'll do this as a prototype so all you have to do is... (View Snippet)