•
•
•
•
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)
Put it in you footer at Admin CP->Board Wrappers, and underline will disappear for username links.
This code only makes sense when you have underline enabled for links in your CSS. (View Snippet)
Swap two images as you move your mouse in and out of the image field. Uses onMouseOver, onMouseOut and a short javascript code. (View Snippet)
A very simple PHP/Javascript snippet to detect the resolution of a user's monitor and create a table using that resolution to best fit within the user's browser (to avoid scrolling). Note: This is a PHP script which includes Javascript (View Snippet)
You want your object to do a number of different things when it's clicked, and you've used up onmouseup, onmousedown and onclick. There are some properietry solutions to this, but it's quite a simple thing really.
Copy and paste the MultiHandle object into an empty js file, include it in your... (View Snippet)
This script displays the current time in your browser. You can choose the 12-hours format or the 24-hours format. (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)
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)