DHTML popuplayer instead of Window Popup Big Pic ? DHTML popuplayer instead of Window Popup Big Pic ?
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

DHTML popuplayer instead of Window Popup Big Pic ?

Started by Rodinou, January 13, 2004, 10:58:45 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Rodinou

Hi

Please go to http://www.sortons.net (IE / Win if possible :))

So ... in DIV TICKER TEXTS (on the right) at moment, you'll see
a text with a PIC (Chakra)

Click on it ... anddddd ... waouhh DHTML rocks !!!

Even if I know DHTML is not your friend, I would like to know HOW to change in displayimage.php a DIRECT LINK to the PIC instead of a page containing the PIC for the Largest Size.

This script degrades well : if not compatible DOM, it opens a NORMAL popup window with the Pic ...

Thanx.

Joachim Müller

in displayimage.php find        $pic_html = "<a href=\"javascript:;\" onClick=\"MM_openBrWindow('displayimage.php?pid=$pid&fullsize=1','" . uniqid(rand()) . "','scrollbars=yes,toolbar=yes,status=yes,resizable=yes,width=$winsizeX,height=$winsizeY')\">";  - that's the place where the full size pop-up is done...

GauGau

Rodinou

Quote'displayimage.php?pid=$pid&fullsize=1','" . uniqid(rand())


Thanx Gaugau, but ... how to "have" the name of the pic ???

Quote<a href=path/originalSIZE_name_of_the_pic.jpg>

??!

$pid ?