Jump to content

wtp

Members
  • Posts

    19
  • Joined

  • Last visited

    Never

Everything posted by wtp

  1. how to overlay the parent page as well when i click the child page image? anybody?
  2. <p>This is the main content. To display a lightbox click <a href = "javascript:void(0)" onclick = "document.getElementById('light').style.display='block';document.getElementById('fade').style.display='block'">here</a></p> <div id="light" class="white_content">This is the lightbox content. <a href = "javascript:void(0)" onclick = "document.getElementById('light').style.display='none';document.getElementById('fade').style.display='none'">Close</a></div> <div id="fade" class="black_overlay"></div> the above code i get it from "Create a Lightbox effect only with CSS - no javascript needed". i set it at child page, how to display it in parent page? please guide ! thanks
  3. hi, i have a problem here. in parent page, i using iframe to display child page. while child page got photo and user can click on photo then it will enlarge the photo using lightbox. but problem is when it display, the lightbox area only at child page. how to show the lightbox area at parent page? thanks
  4. wtp

    asking about Font!

    is it possible to set the default font style into apache, so that all the client are able to view my default special font style? because i found that in my pc is using special font, but other's pc don't have, it will become urgly font appear in their pc. i just asking, don't know is it the right place to place this topic or not.
  5. my problem is a_title containing single quote from database eg: ab'cde when come to second code, i echo $_POST['choose'] , it only show ab.
  6. is it below what you means? $sql="select * from activity"; $query=mysql_query($sql); while($menu=mysql_fetch_array($query)){ $t = $menu['a_title']; echo "<option value='$t'>$t</option>"; } if($_POST['choose'] != NULL){ $choose=mysql_real_escape_string($_POST['choose']); $s="select * from activity where a_title= '$choose'"; $q=mysql_query($s) or die (mysql_error()); $r=mysql_fetch_array($q); $date1=$r['a_date']; $title1=stripslashes($r['a_title']); $desc1=stripslashes($r['a_desc']); }
  7. you means the first code or second code? sorry, im newbie. (
  8. below code is to display the contain from database and for user to select which activity want to edit and post it to URL. $sql="select * from activity"; $query=mysql_query($sql); while($menu=mysql_fetch_array($query)){ $t = mysql_real_escape_string($menu['a_title']); $t = stripslashes($t); echo "<option value='$t'>$t</option>"; } below is to get the information from URL to display rest of infomation from database. if($_GET['choose'] != NULL){ $choose=$_GET['choose']; $s="select * from activity where a_title= '$choose'"; $q=mysql_query($s) or die (mysql_error()); $r=mysql_fetch_array($q); $date1=mysql_real_escape_string($r['a_date']); $title1=stripslashes($r['a_title']); $desc1=stripslashes($r['a_desc']); }
  9. i got a problem here. user insert single quote character into database ( now can insert into database). when retrieve the data (i can retrieve data from database). then i have to post the single quote character to URL, so that i can retrieve rest of the information from database. so can i post single quote character to URL using php? or using others way to do it?
  10. it will have slash before the single quote right? it not very nice look. can remove the slash?
  11. hi all, is it possible that insert the single quote character into MySQL? regards stephen
  12. hi all, does anyone know how to set menu bar background to transparent? this is my code how to change set it to transparent? i try and try still cannot become transparent. thanks .anylinkmenu{ position: absolute; left: 0; top: auto; visibility: collapse; border: 0px #135307; border-bottom-width: medium; font: 15px Angelina; line-height: 20px; background: transparent url(trans.png) repeat; z-index: 1; width: 100px; /* default width for menu */ } .anylinkmenu ul{ position:relative; margin: 0; padding: 0; list-style:none; } .anylinkmenu ul li a{ position:relative; width: 100%; text-indent: 4px; border-bottom: 0px solid black; padding: 2px 0; text-decoration: none; font-weight: bold; text-indent: 5px; color:#000; background: transparent url(trans.gif) no-repeat right top; display:block; z-index: -1; } .anylinkmenu a:hover{ /*hover background color*//* background when mouse point to the submenu link */ font-weight:bolder; text-indent: 20px; color: black; background:url(trans.gif); position:relative; }
  13. wtp

    iframe problem

    hi, i had solved the problem.
  14. hi all, i have a problem, i got main page contain header and footer, at the middle body is to show the page. the middle page link may have different page. header and footer, no change. the problem is the middle page may have different height. and the footer does not follow the middle page height, footer will overlap the middle page. got any body have the idea? thanks regards stephen
  15. the features just same as below website. when you point the PRODUCT, it will automatic drop down the sub item like desktop, display and so on... http://www.asus.com/index.aspx
  16. hi all, how to create the menu bar? the feature will be like, when my mouse point to FILE, then it will automatically show out the sub menu of FILE, like NEW, SAVE and so on. thanks
  17. can anyone help me to decrypt below code? $R5D28FF0A50A3AAB438A596288229D770 i have no idea how it generated. thanks
  18. haha... don't know what's the problem. after i restart the pc, the problem solved. thanks
  19. please help! i had installed php and mysql and apache. i had uncommented extension=php_mysql.dll and extension_dir = "C:\php\ext" in php.ini but still get the below error: Cannot load mysql extension. Please check your PHP configuration. what else i need to be done? thanks
×
×
  • 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.