no image links
- rmbrstrongbad18
-
rmbrstrongbad18
- Member since: Dec. 23, 2005
- Offline.
-
- Forum Stats
- Member
- Level 06
- Blank Slate
if you go to a site like google, you'll see that the cursor remains the same and that clicking on the image will lead you nowhere. I looked at the source code, and the javascript didn't really make sense to me. Can someone explain how to do it, and how it works?
Anyone need a voice actor?
http://www.newgrounds.com/audio/lis ten/251414
- Damien
-
Damien
- Member since: Mar. 12, 2006
- Offline.
-
- Forum Stats
- Supporter
- Level 30
- Artist
It's just refering to the same page( index.html probably) everytime you click it it just refreshes the page ;)
Plain logic, and quit useless if you ask me :p
Cheers
- rmbrstrongbad18
-
rmbrstrongbad18
- Member since: Dec. 23, 2005
- Offline.
-
- Forum Stats
- Member
- Level 06
- Blank Slate
no, go to google, the cursor remains the same when you put it over the image, and it goes nowhere.
Anyone need a voice actor?
http://www.newgrounds.com/audio/lis ten/251414
- Pilot-Doofy
-
Pilot-Doofy
- Member since: Sep. 13, 2003
- Offline.
-
- Send Private Message
- Browse All Posts (12,142)
- Block
-
- Forum Stats
- Member
- Level 37
- Musician
[a style="cursor: hand;"><img src="omfg.gif" width="100" height="50" alt="lollink" /></a]
Like that?
- Jordan
-
Jordan
- Member since: Apr. 23, 2006
- Offline.
-
- Forum Stats
- Member
- Level 14
- Blank Slate
At 11/4/06 08:20 PM, rmbrstrongbad18 wrote: no, go to google, the cursor remains the same when you put it over the image, and it goes nowhere.
That is because it isn't a link, just a picture:
<img alt="Google" src="/intl/en_uk/images/logo.gif" height="110" width="276">
- rmbrstrongbad18
-
rmbrstrongbad18
- Member since: Dec. 23, 2005
- Offline.
-
- Forum Stats
- Member
- Level 06
- Blank Slate
don't any of you get it?
images, by default, are clickable. if no links are assigned, clicking them will bring them to the image file. google had javascript in the source code that obviously had something to do with the image, and im trying to figure it out.
Anyone need a voice actor?
http://www.newgrounds.com/audio/lis ten/251414
- Loccie
-
Loccie
- Member since: Feb. 27, 2004
- Offline.
-
- Forum Stats
- Member
- Level 16
- Blank Slate
At 11/5/06 06:36 AM, rmbrstrongbad18 wrote: images, by default, are clickable. if no links are assigned, clicking them will bring them to the image file.
Eh what browser are you using because here on my computer clicking on images does not show me the image file. If you mean dragging them to the title bar then I know what you mean. I looked at google and they indeed prevent that with some kind of js. Just look at the source code cause there is not a lot of code and maybe try some of it.
- elbekko
-
elbekko
- Member since: Jul. 23, 2004
- Offline.
-
- Forum Stats
- Member
- Level 16
- Blank Slate
At 11/5/06 07:12 AM, Loccie wrote: If you mean dragging them to the title bar then I know what you mean. I looked at google and they indeed prevent that with some kind of js.
Not really =/
"My software never has bugs. It just develops random features. " - Unknown
[ FluxBB developer | Quickmarks 0.5.1 | Strings & Ints - my blog ]
- rmbrstrongbad18
-
rmbrstrongbad18
- Member since: Dec. 23, 2005
- Offline.
-
- Forum Stats
- Member
- Level 06
- Blank Slate
yeah, they did, all images are clickable by default or have some other means other than right-clicking to get to the image file unless another link is assigned, but google used javascript to prevent this, and many other sites like Myspace, Yahoo, and meebo.
Anyone need a voice actor?
http://www.newgrounds.com/audio/lis ten/251414
- rmbrstrongbad18
-
rmbrstrongbad18
- Member since: Dec. 23, 2005
- Offline.
-
- Forum Stats
- Member
- Level 06
- Blank Slate
also, by the way, my browser is firefox. there's different means for different browsers but javascript is able to block it and I'm not sure how.
Anyone need a voice actor?
http://www.newgrounds.com/audio/lis ten/251414
- Storm
-
Storm
- Member since: May. 19, 2006
- Offline.
-
- Forum Stats
- Member
- Level 05
- Blank Slate
At 11/5/06 07:12 AM, Loccie wrote: Just look at the source code cause there is not a lot of code and maybe try some of it.
Or disable JavaScript from Tools > Options > Content Tab.
- Yorou
-
Yorou
- Member since: Sep. 27, 2006
- Offline.
-
- Forum Stats
- Member
- Level 12
- Blank Slate
At 11/4/06 07:36 PM, rmbrstrongbad18 wrote: if you go to a site like google, you'll see that the cursor remains the same and that clicking on the image will lead you nowhere. I looked at the source code, and the javascript didn't really make sense to me. Can someone explain how to do it, and how it works?
You are very noobish, aren't you? lol. Google's logo picture is special because it has programming in it so that on holidays, it changes picture. On those days you can click on it. It's kinda complex, but that's how it works.
- Jcrypt
-
Jcrypt
- Member since: Aug. 23, 2005
- Offline.
-
- Forum Stats
- Member
- Level 11
- Blank Slate
i'm having no problems at all dragging it to the address bar, or with right-clicking it. And to the guy above me please quit reffering to people being 'noobish' because obviously you don't know what your talking about either. That 'programming on the image' you speak of is Javascript and it's just a rotation script according to the time of the year (assuming without looking).
- rmbrstrongbad18
-
rmbrstrongbad18
- Member since: Dec. 23, 2005
- Offline.
-
- Forum Stats
- Member
- Level 06
- Blank Slate
1. Please don't call me a noob unless you know what I'm talking about. I don't care about changing holidays, I'm referring to javascript for unclickable images.
2. I know you can right click it, but left clicking leads you nowhere with some images.
Anyone need a voice actor?
http://www.newgrounds.com/audio/lis ten/251414

