What's new

Request for help!

Can you see the secret code?

  • Yes - it pops up when I hover over the egg

    Votes: 0 0.0%
  • Yes - it doesn't pop up but when I right click and click properties it is displayed

    Votes: 1 14.3%
  • No - there's no way I can get the code (apart from view source code I guess)

    Votes: 6 85.7%

  • Total voters
    7

DavidL

Top Contributor
Hi All,

Hoping I can get a quick straw poll for a competition I'm running. The idea is I have hidden a bunch of easter eggs on my website and everybody who finds an egg is encouraged to enter the draw to win one of 5 Sat Navs.

To prove they have found an egg, I have put a special code into the ALT Text of the egg image which they need to then enter in the entry page.

However I have some concerns that some browsers/computers may not show the text when you hover over or right click.

So, if you could pls tell me what your computer does vis the poll, that would be great. Oh and feel free to enter the draw too!

An example of one of the egg pages is here - http://www.privatefleet.com.au/mazda/

and if you want to enter the competition page is here - http://www.privatefleet.com.au/easter2012/

Thanks heaps

David
 

findtim

Top Contributor
alt = 33467 , but thats from source code

not working for me on my windows 7 , IE9, firefox 10.0.2, PC Safari , google chrome.

not working for me on windows XP , IE 8, firefox 10.0.1

not working on my vista, IE9, firefox 10.0.1


tim
 

DavidL

Top Contributor
Thanks guys & thanks Rhythm - I think you've found the issue.

It's through a custom CMS so I'll have to work that out.

Thanks again all

David
 

DavidL

Top Contributor
Thanks Rhythm - as usual you've nailed it!

Now i have to go through and change all these eggs!

BTW did anyone enter? Did that part of it work OK?

PS as well as a nice little competition, hoping that there may be some SEO benefit when our newsletter goes out to 90,000 people and X,XXX people across Australia search Google for our major KW and click on our result (even if it's on the 3rd page) thus delivering a really strong CTR. Here's hoping!
 

jam

Top Contributor
Doesn't work in Chrome, Firefox for me, you need to add the title tag to each image title="#####" this will fix your issue.
 

sp@rky13

Top Contributor
Best bet I think is to use a javascript tooltip on hovering over the easter egg. Or that it opens up a small window with the code when you click on it.
 

davids

Top Contributor
As jam said, you need to put the code in the title attribute.

Alt is meant for something alternate to display (text) for when the image can't load, and title is meant for hovering.

Best bet is to do a combination of Alt + Title + an onClick that popups up the code... something like this:

Code:
<img width="31" height="32" src="/images/upload/Image/icons/easter_egg.gif" alt="33467" title="33467" onclick="javascript:prompt('Here is your secret code:','33467');" style="WIDTH: 21px; HEIGHT: 18px">
 

FirstPageResults

Top Contributor
Thanks Rhythm - as usual you've nailed it!

Now i have to go through and change all these eggs!

BTW did anyone enter? Did that part of it work OK?

PS as well as a nice little competition, hoping that there may be some SEO benefit when our newsletter goes out to 90,000 people and X,XXX people across Australia search Google for our major KW and click on our result (even if it's on the 3rd page) thus delivering a really strong CTR. Here's hoping!

Cool, let us know how it goes :)
 

Community sponsors

Domain Parking Manager

AddMe Reputation Management

Digital Marketing Experts

Catch Expired Domains

Web Hosting

Members online

No members online now.

Forum statistics

Threads
11,100
Messages
92,053
Members
2,394
Latest member
Spacemo

Latest posts

Top