PDA

View Full Version : opening facebox onclick ; how ?



amrtami
06-29-2008, 04:12 PM
1) Script Title: facebox 1.1

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex4/facebox/index.htm

3) Describe problem: i have this code


<a href="test.htm" rel="facebox">View a page</a>

this open test.htm in facebox popup, put if i click it as in a new window or tab, the browser gets me the page test.htm in a blank page with its content...

so i need a code doing this :: for example
<a href="#" rel="facebox" onclick="((((display.test.htm.in.facebox))))">View a page</a>

..... please help