PDA

View Full Version : Needing a Code.



Sunny.
09-05-2007, 04:28 PM
Urmm on Habbo when you press Console or the Navigation button it pops up urm does anyone have the code for that so when you click a link or a button a image pop's up.

Thanks.

Edited by Lµke (Forum Moderator): Thread Moved from Website Designing. Please post in the correct section next time, Thanks :).

redtom
09-05-2007, 04:29 PM
Theres somthing on DD, have a look there

RNelson
09-05-2007, 04:30 PM
<?
echo ("Emo");
?>

Edited by NintendoNews (Forum Moderator): Please do not post pointlessly.

redtom
09-05-2007, 04:33 PM
<?
echo ("Emo");
?>

what? .

Sunny.
09-05-2007, 04:33 PM
Tried looking on DD couldnt find..

Johno
09-05-2007, 05:23 PM
I believe you can use a hidden DIV and then using JS changing it from Hidden to visible.

Someone was telling me about this but I cant remember exactly what they were saying.

timROGERS
09-05-2007, 05:56 PM
As ActiveVision said, the easiest way to do it would be with a hidden div, here is the code for a div. Just style the div in the normal way using CSS:


<div id="hidden-image" style="display: none;">Div contents</div>

Then in the head tags, put this Javascript:


<script type="text/javascript">
function showHidden(id) {
hidden = document.getElementById(id);
hidden.style.display = "block";
}
</script>

Then if you want to make that work when you click an image:


<img src="whatever.lol" onclick="showHidden('hidden-image')" />

LondonGoons
09-05-2007, 06:02 PM
<?
echo ("Emo");
?>
?
echo ("His addicted to the word 'emo");
?>

Edited by Bomb-Head (Forum Moderator): Please don't post pointlessly, thanks :)

timROGERS
09-05-2007, 06:08 PM
Hope you find my code useful :) Tell me if it doesn't work, I just wrote it on the spot :P

Sunny.
09-05-2007, 06:16 PM
Ok il try it when im home.

Want to hide these adverts? Register an account for free!