If you have an id assigned to your tag, such as You could execute certain code on a onclick or onblur event: The javascript code itself would be: changeImage() { var i = new Image(); i.src = "/images/image2.jpg"; document.getElementById("foobar").src = i.src; } Hope this helps, m1ke places.ae
Michael Hendrickx
Posts
-
Swapping image + server side script [modified] -
The Progam Used to build websitesReal programmers use VI :) No, there are many WYSIWYG tools, such as dreamweaver, but this is purely from a graphical "how it will look like" point of view. The backend is either done in an IDE such as visual studio (though, i don't think yahoo nor google run anything on C# or VB :)), or in plain text editors.
-
How to add or change meta tag by javascript at runtime -
New job! OMG new city too!Hahaha, good one. Congrats on the job man, let us know how it goes. VMWare has awesome products.
-
Pigeon SpamA cartoon a drew a few days ago: http://blog.code.ae/2007/05/08/cartoon-pigeon-spam/[^] click on the image to full size.. please let me kno what you think of it..
-
Developing a new Site with FrontPageMy best answer, but it won't help you much, is to stay away from Frontpage, as it is limited and will make you frustrated. The moving text, is called a marquee, and holds the tags. Maybe worst case scenario, you can have the part that you want to be moving, and put it in marquee tags. Expandable menu's on buttons.. can be done with CSS. Do you want something like a folded out menu? www.code.ae
-
Twenty DollarsChristian Graus wrote:
That's an average of 4.5 times a *day*. How did he find time to give his business to anyone else ?
Lol.. you really did calculate that. After 30 years, performing at that rate (over 50.000 times), i think you need to recharge your tool.
-
Trenddav25 wrote:
You pray five times a day. Your dress code is affected; even your food choices are explained in the Qur'an.
Funny thing is that when you live in a muslim country, you would see other things. Islam has many good points, so has christianity. As long as you don't go into extremes, it's all good for humanity I guess.
-
help me on this networking question from my sister:laugh: +1
-
Win 2003 Server ProblemCan you read the security/system/application log events? They might give you a better view on the problem.
-
Give it a thought...Seen it before, but still a good classic! Wish life was backwards though. :rose:
-
Question about BIOS codezorro911 wrote:
if your BIOS, i.e. motherboard spoke french, but your network card and OS spoke english, there wldnt be much talking...
zere would be, but ze packets would not arrive at zeir destinacione.. :) Nice information, thanks.
-
Problem in IISIs it win2003? i think the localstart.asp(x?) is protected from outside users. Are you accessing localhost? Otherwise, make sure you have the proper permissions..
-
How to prevent broadcasting between two NICs in Windows XPWell.. how do you see that this broadcast is going to the other subnet? It would be very stupid for Microsoft to broadcast your presence coming from an IP to a network which will only route it onwards. A packet of 192.168.xx.1 will never arrive anywhere on 192.168.yy.0/24 .... How are you determine the delivery of this packet? Are you using a sniffer?
-
Adobe Forms tutorialDear all, I was asked to make some "intelligent" adobe (designer) PDF files. I have been trying to find a -Adobe Design for dummies-ish website, with tutorials. Is there anybody who can help me with this? Sorry if this is posted in the wrong forum, but this seemed like the most appropriate. Thank you, michael
-
mobileIn many ways: Physical (usb, serial, ...) or through GPRS :D
-
One advantage of Cobol:laugh: :laugh: superb!
-
Windows XP Firewall PortsAn alternative, both easy and secure, might be that both of you set up a VPN between both of you. Your VPN will create a virtual interface, that basically doesn't need a a firewall, but it only accessible over your private network. What you and your friend (well, only the "server") needs to do, is open one port. I use openVPN for this, which is free and open source. And you can run this over obscure UDP ports.. so all portscanners will see, is -say- UDP port 38492 which is open.. and all traffic have to be encrypted and authenticated anyways. Hope this helps, it improved my gameplay :)
-
Watching ApplicationAre you in an Active directory? If so, try Group Policy :) I guess you could prevent these programs from being installed, and started. MSN messenger will be a bit harder to remove, since it's MS idea of world domination. But Yahoo should not be much of a problem..
-
How to prevent broadcasting between two NICs in Windows XPWhich broadcasts are these? i guess it will be your normal "NetBIOS announcements". If possible (and wont break anything), remove the "client for windows networks" on it.