Jump to content

virtualadz

Members
  • Posts

    489
  • Joined

  • Last visited

Posts posted by virtualadz

  1. well ok let's forget this thing, now talking about the second validation error, it is a typical one, saying :" This page is not Valid (no Doctype found)! "whereas my document has it alright<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN"><html dir="LTR" lang="en"><head> <title>My site</title>

  2. i couldn't just find where this cursor value was refering to in my document, so dont even know what is it going to change and where, i have removed that code from my css, and it not showing errors upon validating, but i cannot be sure as it is going to change some formatting somewhere.. i just moved that cursor: hand value in a commeted line.moduleRow { }.moduleRowOver { background-color: #D7E9F7; cursor: pointer;}.moduleRowSelected { background-color: #E9F4FC; }.checkoutBarFrom, .checkoutBarTo { font-family: Verdana, Arial, sans-serif; font-size: 10px; color: #8c8c8c; }.checkoutBarCurrent { font-family: Verdana, Arial, sans-serif; font-size: 10px; color: #000000; }/* message box cursor: hand; */as i dont have any idea where and what is it changing

  3. this code shows error when validating with w3.org stating reason as hand is not a cursor value, do you have any ideas about this, so as to correct this one error left in my css file.moduleRow { }.moduleRowOver { background-color: #D7E9F7; cursor: pointer; cursor: hand; }.moduleRowSelected { background-color: #E9F4FC; }

  4. hi ok my next question is : i want to insert <br> <b> and such tags within the function "writetext('VirtualAdz<br>dad<b>dad</b>dada<br>da')" but when validating it with w3.org , these tags are shown as errors and they can't be included there. is there a other way i can add text out here with <br> and <b> etc.

  5. i have a image map which i want the text to hide on mouseout, but it didn't, see the code below i have given mouseout but it doen't have any effetc.<script type="text/javascript">function writeText(txt){document.getElementById("desc").innerHTML=txt}</script><img src="world_map.bmp" usemap="#world_map" alt="" style="border-style:none" /><map id="world_map" name="world_map"><area shape="circle" alt="W3schools" coords="401,131,6" nohref title="India" onMouseOver="writeText('VirtualAdz')" onMouseOut="hide('desc')" /></map>

  6. ok look at the my finishing touch<?php/* $Id: search.php, hpdl Exp $*/?><!-- search //-->script type="text/javascript"> function searchInput() { var search = document.getElementById('search'); if (search.value != "") { search.value = search.value; } else { search.value = "Enter Search Terms...."; } }; function noInput() { document.getElementById('search').value = ""; }; </script> <tr> <td><?php $info_box_contents = array(); $info_box_contents[] = array('text' => BOX_HEADING_SEARCH); new infoBoxHeading($info_box_contents, false, false); $info_box_contents = array(); $info_box_contents[] = array('form' => tep_draw_form('quick_find', tep_href_link(FILENAME_ADVANCED_SEARCH_RESULT, '', 'NONSSL', false), 'get'), 'align' => 'left', 'text' => tep_draw_input_field('keywords', '', 'size="10" value="Search..." onclick="this.value=\"\"" maxlength="30" style="width: ' . (BOX_WIDTH-20) . 'px"') . ' ' . tep_hide_session_id() . tep_image_submit('button_quick_find.gif', BOX_HEADING_SEARCH) . '<br>' . BOX_SEARCH_TEXT . '<a href="' . tep_href_link(FILENAME_ADVANCED_SEARCH) . '">' . BOX_SEARCH_ADVANCED_SEARCH . '</a>'); new infoBox($info_box_contents);?> </td> </tr><!-- search_eof //-->have i done it right ,

  7. onclick="this.value=\"\"" value="Search..." , where do i put the javascript code , should i make separate copy for that or inclde it in this php code of mine, if i make a separate copy then i would have to give a link to all my root pages, which will be again difficult task, any ideas????

  8. this is the whole source code<?php/* $Id: search.php, hpdl Exp $ Virtualadz*/?><!-- search //--> <tr> <td><?php $info_box_contents = array(); $info_box_contents[] = array('text' => BOX_HEADING_SEARCH); new infoBoxHeading($info_box_contents, false, false); $info_box_contents = array(); $info_box_contents[] = array('form' => tep_draw_form('quick_find', tep_href_link(FILENAME_ADVANCED_SEARCH_RESULT, '', 'NONSSL', false), 'get'), 'align' => 'left', 'text' => tep_draw_input_field('keywords', '', 'size="10" maxlength="30" style="width: ' . (BOX_WIDTH-20) . 'px"') . ' ' . tep_hide_session_id() . tep_image_submit('button_quick_find.gif', BOX_HEADING_SEARCH) . '<br>' . BOX_SEARCH_TEXT . '<a href="' . tep_href_link(FILENAME_ADVANCED_SEARCH) . '">' . BOX_SEARCH_ADVANCED_SEARCH . '</a>'); new infoBox($info_box_contents);?> </td> </tr><!-- search_eof //-->

  9. but how do i add javascript in php and link it my code is just completely different?><!-- search //--> <tr> <td><?php $info_box_contents = array(); $info_box_contents[] = array('text' => BOX_HEADING_SEARCH); new infoBoxHeading($info_box_contents, false, false); $info_box_contents = array(); $info_box_contents[] = array('form' => tep_draw_form('quick_find', tep_href_link(FILENAME_ADVANCED_SEARCH_RESULT, '', 'NONSSL', false), 'get'), 'align' => 'left', 'text' => tep_draw_input_field('keywords', '', 'size="10" maxlength="30" value="Search..." style="width: ' . (BOX_WIDTH-20) . 'px"') . ' ' . tep_hide_session_id() . tep_image_submit('button_quick_find.gif', BOX_HEADING_SEARCH) . '<br>' . BOX_SEARCH_TEXT . '<a href="' . tep_href_link(FILENAME_ADVANCED_SEARCH) . '">' . BOX_SEARCH_ADVANCED_SEARCH . '</a>'); new infoBox($info_box_contents);?> </td> </tr><!-- search_eof //-->that's it, css would have been easy, how do i implement js out there

×
×
  • Create New...