Jump to content

divadiva

Members
  • Posts

    171
  • Joined

  • Last visited

    Never

Everything posted by divadiva

  1. Changing the height of the text is a fairly simple question. Anyways thanks for replying.
  2. Experts, How to move the images/folder at the bottom of the page?I have Featured Item list which contains some image and is aligned at the top of the page. I want to move it to the bottom of the screen .How to do that? Below is my code.I just want to know how to change the height so featured Items can move down . <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <link rel="stylesheet" type="text/css" href="style.css"> <script language="JavaScript" src="flash_link.js" type="text/javascript"></script> <TITLE>Website XYZ</TITLE> <META NAME="keywords" CONTENT="XYZ"> <META NAME="description" </head> <body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0" marginwidth="0" marginheight="0" style="background-color: #FFFFFF" language="Javascript1.2"> <div align="center"> <table border="0" cellpadding="0" cellspacing="0" width="915"> <tr> <td width="212" height="31"> </td> <td width="15" height="31"> </td> <td width="700" height="31"> <div id="container"> <div id="header"> <div id="links"> <p align="right"></p> <p align="right"> </div> </div> </div> </td> </tr> <tr height="59"> <td class="main_color" height="59" align="right" valign="bottom" width="212"> <p align="center"><a title="Home Page" href="index.php"><img src="images/logo.gif" alt="Website XYZ" height="77" width="210" border="0"></a> </td> <td class="main_color" height="59" align="right" valign="bottom" width="15"> </td> <td class="main_color" align="center" valign="bottom" width="691" height="59"> <?//image?> <p align="center"><a onmouseover="var img=document['fpAnimswapImgFP13'];img.imgRolln=img.src;img.src=img.lowsrc?img.lowsrc:img.getAttribute?img.getAttribute('lowsrc'):img.src;" onmouseout="document['fpAnimswapImgFP13'].src=document['fpAnimswapImgFP13'].imgRolln" href="aboutus.php"><img alt="XYZ" border="0" src="images/aboutus.gif" width="115" height="35" hspace="3" id="fpAnimswapImgFP13" name="fpAnimswapImgFP13" dynamicanimation="fpAnimswapImgFP13" lowsrc="images/ag_menu_on_button_about.gif"></a><a title="Search" onmouseover="var img=document['fpAnimswapImgFP11'];img.imgRolln=img.src;img.src=img.lowsrc?img.lowsrc:img.getAttribute?img.getAttribute('lowsrc'):img.src;" onmouseout="document['fpAnimswapImgFP11'].src=document['fpAnimswapImgFP11'].imgRolln" href="Search.php"><img alt="XYZ" border="0" src="images/xyz.gif" width="115" height="35" hspace="3" id="fpAnimswapImgFP11" name="fpAnimswapImgFP11" dynamicanimation="fpAnimswapImgFP11" lowsrc="images/xyz.gif"></a><a onmouseover="var img=document['fpAnimswapImgFP12'];img.imgRolln=img.src;img.src=img.lowsrc?img.lowsrc:img.getAttribute?img.getAttribute('lowsrc'):img.src;" onmouseout="document['fpAnimswapImgFP12'].src=document['fpAnimswapImgFP12'].imgRolln" href="services.php"><img alt="XYZ" border="0" src="images/xyz.gif" width="115" height="35" hspace="3" id="fpAnimswapImgFP12" name="fpAnimswapImgFP12" dynamicanimation="fpAnimswapImgFP12" lowsrc="images/ag_menu_on_button_services.gif"></a><a onmouseover="var img=document['fpAnimswapImgFP14'];img.imgRolln=img.src;img.src=img.lowsrc?img.lowsrc:img.getAttribute?img.getAttribute('lowsrc'):img.src;" onmouseout="document['fpAnimswapImgFP14'].src=document['fpAnimswapImgFP14'].imgRolln" href="AboutCompany.php"><img alt="XYZ" border="0" src="images/ag_nav_button_about_xyz.gif" width="115" height="35" hspace="3" id="fpAnimswapImgFP14" name="fpAnimswapImgFP14" dynamicanimation="fpAnimswapImgFP14" lowsrc="images/ag_menu_on_button_about_semi.gif"></a><a onmouseover="var img=document['fpAnimswapImgFP15'];img.imgRolln=img.src;img.src=img.lowsrc?img.lowsrc:img.getAttribute?img.getAttribute('lowsrc'):img.src;" onmouseout="document['fpAnimswapImgFP15'].src=document['fpAnimswapImgFP15'].imgRolln" href="contact.php"><img alt="XYZ" border="0" src="images/ag_nav_button_contact.gif" width="115" height="35" hspace="3" id="fpAnimswapImgFP15" name="fpAnimswapImgFP15" dynamicanimation="fpAnimswapImgFP15" lowsrc="images/ag_menu_on_button_contact.gif"></a><br> <br> </td> </tr> <tr> <td class="main_color" align="center" valign="top" nowrap height="462" width="212" background="images/featured_bracket.gif"><br> <p><? include 'FeaturedItems.inc'; $FeaturedItemsHTMLBlock = FeaturedItems(1); ?> <br> <TABLE> <TR> <p>//I want to change the height Featured Items <div style="text-align: center;"><a title="Featured Items" href="http://xyz.com/feature.php" ><strong><font color="orange"><u>FEATURED ITEMS</strong></div></u> <br> <? shuffle($FeaturedItemsHTMLBlock); print $FeaturedItemsHTMLBlock[0]; print $FeaturedItemsHTMLBlock[1]; print $FeaturedItemsHTMLBlock[2]; print $FeaturedItemsHTMLBlock[3]; ?> </TABLE> </p> Thanks in advance.
  3. Thanks, it worked like a charm. I did urlencode before Manufacturer .It is working fine now.
  4. Experts, This time I have figured out the problem but stuck with the solution. I have this search page,when I enter Adjacent Technology in the search criteria.It gives me the right result.But when I click next to go to next page it trims Technology and the search criteria searches for only Adjacent(which doesnt exist). Here is the code: $MaxDisp = 50; //Set Maximum number of rows to be displayed //Fill in data table for ($RowsDisp =1; ($QueryResultRow= mysql_fetch_array($QueryResult)) AND $RowsDisp <= $MaxDisp; $RowsDisp++){ //print_r(mysql_fetch_array($QueryResult)); ?> <TR align="center" valign="top"> <TD align="middle" valign="center"> <? </TR> <? } ?></TABLE> <? if(!$skip) $skip=0; //set the value of skip to 0 if unset print("Total number".$QueryTotalRows); print "IF Passed ".($skip+$MaxDisp); if(($skip+$MaxDisp)< $QueryTotalRows){//if end is earlier then next skip value, set the end to # of rows print("Query Total Rows".$QueryTotalRows); $PageEnd = $skip+$MaxDisp; print "page end is".$PageEnd; } else { print "After else the total number of rows are". $QueryTotalRows; $PageEnd = $skip+$MaxDisp; print "Page end after else".$PageEnd; $PageEnd = $QueryTotalRows; } print "<p>Displaying records $skip - $PageEnd of $QueryTotalRows<p>"; //SKIP =0 and MAX DISP at this point is 50 if ($skip-$MaxDisp >=0){ //Go back a page print"Goback a page". $skip-$MaxDisp; print "<A HREF=EquipmentSearch.php?skip=".($skip-$MaxDisp)."&manufacturer=$manufacturer&process=$process&wafer=$wafer&search=$search>Prev </a>"; print "&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp"; } print "BEFORE if(forward)".$QueryTotalRows; print"skip+maxdisp".($skip+$MaxDisp); if ($skip+$MaxDisp <= $QueryTotalRows) { //Go forward a page print "<A HREF=EquipmentSearch.php?skip=".($skip+$MaxDisp)."&manufacturer=$manufacturer&process=$process&wafer=$wafer&search=$search>Next</a>"; } ?> Thanks in advance. Best, Divya
×
×
  • 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.