I have been looking for a solution for a long time. I have embedded a SWF app in html page using SWFObject. Now I need to give the Flash app the address where it is currently embedded, since the same SWF file is embedded in more than one locations! So the Flash app is supposed to pull the right content according to its current position
I have a simple little code script and I'd like either the onClick function (or the entire code itself, whichever is easiest) to only load once every 24 hours for each IP address. So "220.127.116.113" should only get the effect of this code once every 24 hours regardless if they revisit my site 5 times a day let's say.
I found several approaches that attempt to do this, but they either give me the external (regular) IP address, or they give 127.0.0.1 which doesn't really tell me anything. I need the local network address.
Just an alert saying "your machine's local network IP is 10.0.0.139" .
Code: document.write("<a href='"+location.href+"' onclick="share();">Share With Your Friends</a>");
I want to create a link that a user can click which will create a popup telling the user their ip address. I have:
var ip = new java.net.InetAddress.getLocalHost().toString(); alert("Your IP address is: " + ip.substring(ip.indexOf("/")+1))
but this does not seem to work. It says the ip is 127.0.0.1. Strangely, this piece of code used to work but all of a sudden it doesn't for some unknown reason. Can anyone tell me what's wrong with the above code?
Is it possible to read the address of a page from another domain fully loaded in an iframe, because when i call the page i ask to a cgi script which returns an encoded url with a unic hashmac key i must catch to create a temporary account with this key.
I tried many things but all what i got is the address i sent first.
I'm fairly new to jQuery. I'm currently using the jCarousel plug in to display multiple addresses for a company and it works great, up until I add a new address for the company a new <li> in the <ul> list. Then my jCarousel stops working.I understand the answer is to use the new delegate method but I haven't been able to find the right way to use it.[code]How do I modify this code so that I can use delegate?