Log in

View Full Version : Projects



[Nicolas]
09-18-2010, 02:37 AM
Hi, I have made a probably-too-simple-to-get-into-DynamicDrive image 'zoomer', though I would call it zoom, more like Close Up Pop Up...
[to the point]Basicly, it is a pop-up that shows a closer view of an image.
It's all simple coding, and easily editable and all in HTML and JavaScript.

<a href="http://mysite.com/index.html" onclick="window.open('http://mysite.com/index.html','popup','width=500,height=500,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false">text</a>
NOTE: Don't forget to edit <a href="HTTP://MYSITE.COM/INDEX.HTML" and onclick="window.open('HTTP://MYSITE.COM/INDEX.HTML'.
Leave everything else (for now).
OK, now make the pop up page, just adding it's content. Nothing else.
EX:

<html><head><title>Pop-Up</title></head><body><p><font size="45">Hey! This is text!</font></p></body></html>
OK, now test it out. Enjoy!
EXTRAS: (you really want to see these)
1. Edit this part of the code to make it suitable for you:
'width=500,height=500,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false">text</a>

2. Add MP3, or MP4 players inside the pop ups. To generate an MP3 Player, use http://profilepitstop.com/mp3_players or http://poqbum.com .

Enjoy!

jscheuer1
09-18-2010, 03:28 AM
;237310'] . . . easily editable and all in HTML.

<a href="http://mysite.com/index.html" onclick="window.open('http://mysite.com/index.html','popup','width=500,height=500,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false">text</a>

The highlighted is NOT HTML. It's javascript. Javascript which in this particular case can be easily blocked by the browser while still allowing other javascript.

[Nicolas]
09-18-2010, 04:09 AM
Thanks for correcting! :o

jscheuer1
09-18-2010, 05:11 AM
You're welcome. I should also point out that:



'width=500,height=500,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false">text</a>

is the same as:


'width=500,height=500,left=0,top=0'); return false">text</a>

As the absence of those specifications is (in the presence of those remaining) the same as setting them to no.

However, though often supported in local testing, all browsers will block (expressed or implied):


location=no

in a live implementation. Some browsers will also block other of these as well in a live implementation.

[Nicolas]
09-19-2010, 02:06 AM
Thanks! :)
New project done, v1.0 Jigsaw Game, most work done by Dynamic Drive's Draggable elements script.
BUGS:
background image slightly off,
pieces not in "Pieces" board,
and white box to finish the puzzle in almost too small.
V1.1 or V2 soon. Enjoy!
Download: (over 120 kb)
jigsaw.zip (http://uploadmb.com/dw.php?id=1284861922)

[Nicolas]
09-22-2010, 02:01 AM
WIP: Gallery script, Word Scramble (Credits to DD!)
Planned: Slide menu