Jump to content

Two div's in same position


johnyp

Recommended Posts

Another thing is that i don't know how to call a javascript function from my php code :

 

<?php

 

foreach($_GET as $var => $value)

{

$out.= $var . '=' . $value . "&";

}

 

$out = substr_replace($out,"",-1);

$out = str_replace("(","[",$out);

$out = str_replace(")","]",$out);

$out = $out . "&submit1=1&first=1&p=advsearch";

 

echo $out;

 

here i want to call a javascript that i have included from another file in order to pass $out to window.opener.

 

?>

 

Thank you.

Hi

first sorry for any spelling mistake English isnt my first language

im not sure what u need in the first question : but maybe ur anser is involve with simple jquery ,but if you give the div different ID's, so when user click A fadein ID 1 if user click b so fadein div B , of course in  thier css  they should be hidden from first, and the position will be in the css also .

about second quasion i guess you mean  :        echo ' <script> .........</script>' ;  the echo will excute the script you wrote inside .

 

i hope it helps .

 

Avi ,.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.