HTML - Copy Form Web Puts Extra Info In Clipboard
The Daily Mail is doing something that has me puzzled.
When I go to this url in firefox http://www.dailymail.co.uk/sciencete...shut-down.html (or any url @ the Daily Mail actually) if I try and copy a paragraph the page it adds a link and some text to the bottom of what ever I copied. Like this: Computers in companies, hospitals and schools around the world slowed down or froze after an antivirus program identified a normal Windows file as a threat Read mo http://www.dailymail.co.uk/sciencete...#ixzz0lq9Ljcbw That last line wasn't in the area I had highlighted to copy. How are they doing that????? Similar TutorialsHello again Can someone please help me with this, I need a button that when clicked will pull a password from somewhere hidden from view and allow the users to paste it in the relevant frame of my web page. can this be done without using a text area, or by using an external txt file. basically the password we all use is stored in an email and I don't want to have to open outlook each time I need to use it, but I don't really want it the password displayed on the page either. hope I made sense if not please feel free to shout random abuse at me. Is it possible to make a button that when clicked, copies text from a box. Instead of manually selecting the contents and then copying with something like control+c. I don't know if this is possible with html alone, could anyone help? Hello I put up a static background portal page which has links to everything for the business and our email address. since the email address is static to the image, i want to make an image map and have that copy the email address to the clipboard and inform the user that it has been copies and can be pasted in their email client. How would i go about this? Thanks Hey guys, im completely new to web development, as in, i've literally never tried it before so im hoping you guys can help me I have a local HTML and, basically, it has 2 text boxes and one button. now the button currently takes you to another page, but i want that button to copy the text from the second text box to my clipboard, so i can paste it into another document i have adobe dreamweaver cs5 but im willing to pick up any other software i might need to pull this off all help appreciated! script completed, thx My school's library has a really basic search, so I made a form with more options to search for books. The problem is that they have a lot of books in the catalog that are NetLibrary books. I can usually find just the dead-tree version by adding limiters and boolean operators, but I was wondering it is possible to make a form that would let me just type the book title and automatically add "not netlibrary" to it? I would like to add extra fields to my contact us form on osCommerce. The fields I would like are 'Category' drop down list which would be linked to a selection of email addresses, so that when a customer selects 'sales' or 'cust service' the email would go to a seperate email address each time. This would make it much easier to do admin work. Is it possible to change this without needing to install a ticketing system? So often when I create a form, a simple form with one text box the form tag adds a bunch of space below when I want it "lean" with zero space. For example a table row... <table> <tr bgcolor="#ffcc33"> <td valign="top" align="left" width="25%"></td> <td valign="top" align="center"><form action="http://www.sanluisshopper.com/search_businesses.php" method="GET" name="search"><input type="Text" name="search" size="20" name="search"><input type="Submit" value="Shop!"></form> </td> <td valign="top" align="right" width="25%"></td> </tr></table> Is there any way to eliminate this extra space? This has driven me batty! Thanks. Hi I work at a helpdesk and we are creating a knowledge base of all of our information. We are currently trying to develop a way to track the steps that the agents have completed within the knowledge document. Therefore, someone brought up the bright idea that after each step or beside each step that there will be a check box. Once the agent clicks that check box the information from that step would be logged as a log comment within our ticketing system. Now we can move the data into the log comment field without a problem but we are running into the issue of copying the selected text with check box. Could anyone assist with the coding? It submits in every other browser BUT IE... I just finished this website and it works everywhere except IE... I don't get it!!! I'm using image inputs to submit the form. Is that bad? It obviously sends me to the next page, but why isn't the data going through? the form exists on this webpage http://awesomebattle.com/compare.php it's the frame with the two random characters in it... here is the code. Code: <form method="post" name="vs" id="vs" action="vs.php" > <table width="100%"> <tr> <td align="center" valign="top" width="30%" bgcolor="#ff9900" > <font size="5"><a href="http://www.google.com/search?q=Captain America" alt="Detailed Info" title="Detailed Info" target="_blank">Captain America</a><br><input type="image" id="w" name="w" VALUE="l" border="0" width="300" height="300" src="pic/1278364692captain america.jpg"></font></td> <td valign="top" width="40%" align="center"><img width="150" border="0" src="pic/1277747612fight.png"><br> <input type="image" id="w" name="w" VALUE="d" border="0" src="draw.png" > <br> <input type="image" id="w" name="w" VALUE="" border="0" src="idk.png" > <table width="300" bgcolor="ff9900" ><tr><td colspan="2" align=center ><font size=1>1 vote</font></td></tr></table> </td> <td align="center" valign="top" width="30%" bgcolor="#ff9900" > <font size="5"><a href="http://www.google.com/search?q=Polaris" alt="Detailed Info" title="Detailed Info" target="_blank">Polaris</a>, <a href="http://www.google.com/search?q=Killer Bee" alt="Detailed Info" title="Detailed Info" target="_blank">Killer Bee</a>, <a href="http://www.google.com/search?q=Haku" alt="Detailed Info" title="Detailed Info" target="_blank">Haku</a><br><input type="image" id="w" name="w" VALUE="r" border="0" width="150" height="150" src="pic/1278365600Polaris.jpg"><br><input type="image" id="w" name="w" VALUE="r" border="0" width="150" height="150" src="pic/1277849407killerbee.jpg"><input type="image" id="w" name="w" VALUE="r" border="0" width="150" height="150" src="pic/1278365133haku.jpg"></font></td> </tr> </table> <br> <a href="javascript:toggle_visibility()" ><font style="BACKGROUND-COLOR: #ff9900" size=2 >Leave some commentary for others to see!</font></a> <div id="ads" ></div> <div id="notes" style="display:none;" align=center> <table width="400" bgcolor="#ff9900"><tr><td align=center> Name <input id="name" type="text" name="name" VALUE="" maxlength="30" size=15 alt="Tell us your name" title="Tell us your name" ><br> <font size=2>Commentary</font> <textarea name="comments" cols="40" rows="5"> </textarea><br><font size=1>When you pick a winner the comment will be submitted.</font> </td></tr></table> </div> <input type="hidden" id="compare" name="compare" VALUE="0" /> <input type="hidden" id="rights" name="rights" VALUE="3" /> <input type="hidden" id="lefts" name="lefts" VALUE="1" /> </form> I'm thinking it's a I hate I.E. I really do. So many people use IE so I have to make this work with my site. I was curious if anyone knew how to set up a link/button that copies a table to the clipboard??? So you could set up a table like: <table> <tr> <td>Hello</td> <td>World</td> </tr> <tr> <td>Copy table link</td> </tr> <table Hello all! In my job, I talk to a customer or another rep, solve their problem, and note their accounts respectively. To avoid unnecessary repetition and typing the same thing over and over, I had knocked up a little html page (stored on my hd) with a javacode that had my most frequently used notes, such that I could click a form button, and the note was copied to the clipboard. Then I could just tab back to my working software and paste the note into the account. This worked beautifully until the company updated the security in our system, and now no page may use java. With my little html app, I just had a page full of pressable buttons that had one or two keywords on them, so that I knew which note I was picking. Having all of the notes listed longhand and having to select them by hand just takes so long, when I had such an elegant solution before. Does anyone know a method of accomplishing this task without using Java? Hi all -- I'm having an interesting problem. I'm designing a web page that has a navigation banner (home - programs - schedule of events - contact us - downloads) that is made up of a .png for each page (i.e. home.png, programs.png, etc). My page is 1000px wide and all of the navigation banner's images add up to 1000px wide. I'm using JavaScript to create an onMouseOver and onMouseOut effect on each of the images. The problem that I'm having occurs when I tried to add a link (either by <A HREF= or using an image map). Whenever I add a link to the image, a small (3px) area of white space shows up to the right of the image. This shifts all of my other images 3px to the right (and 3 more for each link I add to subsequent images) thus making the total width of the navigation banner over 1000px and the last image gets shoved to a new line. I can find no way to get rid of this white space other than to remove the link from the image. There is no property on the page that adds any sort of padding, margins, or borders to images or links, so I can see no property that has to be changed. Help! How do I get rid of this white space but still keep the link on the image?? [I posted this question on the Adobe forum to no avail, below is a screencap I took of the issue I'm having] Thanks in advance! //kl PS - I am using both IE8 and Chrome to view this webpage. I've set all the margins/padding/borders to 0px. Here is my CSS and the part of the code that pertains to the navigation banner. CSS: Code: <style type="text/css"> <!-- body { font: 100% Verdana, Arial, Helvetica, sans-serif; background: #666666; margin: 0; /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */ padding: 0; text-align: center; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */ color: #000000; background-image: url(images/blue.bg.png); background-repeat: repeat; background-color: #009; } .oneColFixCtr #container { width: 1000px; /* using 20px less than a full 800px width allows for browser chrome and avoids a horizontal scroll bar */ background: #FFFFFF; margin: 0 auto; /* the auto margins (in conjunction with a width) center the page */ border: 0px solid #000000; text-align: left; /* this overrides the text-align: center on the body element. */ } .oneColFixCtr #mainContent { padding: 0 20px; /* remember that padding is the space inside the div box and margin is the space outside the div box */ } body, td, th { color: #333; } #main_banner2 { margin: 0px; padding: 0px; height: auto; width: 1000px; } --> </style> </head> Nav Banner: NOTE:: below HAS to be all one paragraph because if i insert a carriage return in between images, it also adds the white space... Code: <body class="oneColFixCtr"> <!-- MAIN NAVIGATION BANNER --> <!--HOME--><img src="images/nav/home.png" alt="home" name="home" width="82" height="30" border="0" onMouseOver="document.images.home.src='images/nav/home_over.png'" onMouseOut ="document.images.home.src='images/nav/home.png'"/><!--PROGRAMS--><img src="images/nav/programs.png" width="111" height="30" border="0" name="programs" onMouseOver="document.images.programs.src='images/nav/programs_over.png'" onMouseOut ="document.images.programs.src='images/nav/programs.png'"/><!--SCHEDULE OF EVENTS--><img src="images/nav/scheduleofevents.png" width="189" height="30" border="0" name="scheduleofevents" onMouseOver="document.images.scheduleofevents.src='images/nav/scheduleofevents_ over.png'" onMouseOut ="document.images.scheduleofevents.src='images/nav/scheduleofevents.png'"/><!-- CONTACT US--><img src="images/nav/contactus.png" width="119" height="30" border="0" name="contactus" onMouseOver="document.images.contactus.src='images/nav/contactus_over.png'" onMouseOut ="document.images.contactus.src='images/nav/contactus.png'"/><!--DOWNLOADS--><i mg src="images/nav/downloads.png" width="267" height="30" border="0" name="downloads" onMouseOver="document.images.downloads.src='images/nav/downloads_over.png'" onMouseOut ="document.images.downloads.src='images/nav/downloads.png'"/><!--FACEBOOK--><im g src="images/nav/facebook.png" width="90" height="30" border="0" name="facebook" onMouseOver="document.images.facebook.src='images/nav/facebook_over.png'" onMouseOut ="document.images.facebook.src='images/nav/facebook.png'"/><!--TWITTER--><img src="images/nav/twitter.png" width="67" height="30" border="0" name="twitter" onMouseOver="document.images.twitter.src='images/nav/twitter_over.png'" onMouseOut ="document.images.twitter.src='images/nav/twitter.png'"/><!--BLOGGER--><img src="images/nav/blogger.png" width="75" height="30" border="0" name="blogger" onMouseOver="document.images.blogger.src='images/nav/blogger_over.png'" onMouseOut ="document.images.blogger.src='images/nav/blogger.png'"/><img src="images/home_banner.png" alt="home_border" width="1000" height="7" /><br /> Hi, I want to put in a form to get queries from the user, like so: Name: Email: Comments: 'Send' button and that it will send the information to my email address which is gmail? Thanks Hey guys. I hope I can get some help. I posted in another forum asking this question and got "clobbered". I am having issues with a site that uses tables to put together php files. The files, as per the norm are header.php, footer.php,clumn_left.php, the index page and footer.php. These are put together using an html table. Normally when I put these together it looks great. But i am having troubles with the wishlist.php when it replaces the index.php. And of course I want to make the change in the wishlist.php instead of the others. The files are posted below but I can give you a link offline so you can see what Im trying to say. Thanks. header.php Code: <?php /* $Id: header.php,v 1.42 2003/06/10 18:20:38 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2003 osCommerce Released under the GNU General Public License */ // check if the 'install' directory exists, and warn of its existence if (WARN_INSTALL_EXISTENCE == 'true') { if (file_exists(dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/install')) { $messageStack->add('header', WARNING_INSTALL_DIRECTORY_EXISTS, 'warning'); } } // check if the configure.php file is writeable if (WARN_CONFIG_WRITEABLE == 'true') { if ( (file_exists(dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/includes/configure.php')) && (is_writeable(dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/includes/configure.php')) ) { $messageStack->add('header', WARNING_CONFIG_FILE_WRITEABLE, 'warning'); } } // check if the session folder is writeable if (WARN_SESSION_DIRECTORY_NOT_WRITEABLE == 'true') { if (STORE_SESSIONS == '') { if (!is_dir(tep_session_save_path())) { $messageStack->add('header', WARNING_SESSION_DIRECTORY_NON_EXISTENT, 'warning'); } elseif (!is_writeable(tep_session_save_path())) { $messageStack->add('header', WARNING_SESSION_DIRECTORY_NOT_WRITEABLE, 'warning'); } } } // check session.auto_start is disabled if ( (function_exists('ini_get')) && (WARN_SESSION_AUTO_START == 'true') ) { if (ini_get('session.auto_start') == '1') { $messageStack->add('header', WARNING_SESSION_AUTO_START, 'warning'); } } if ( (WARN_DOWNLOAD_DIRECTORY_NOT_READABLE == 'true') && (DOWNLOAD_ENABLED == 'true') ) { if (!is_dir(DIR_FS_DOWNLOAD)) { $messageStack->add('header', WARNING_DOWNLOAD_DIRECTORY_NON_EXISTENT, 'warning'); } } if ($messageStack->size('header') > 0) { echo $messageStack->output('header'); } ?> <table width="100%" style="height:100%; background:#252525;" cellspacing="0" cellpadding="0" border="0"> <tr> <td width="6" height="100%" valign="top"><?=tep_image(DIR_WS_IMAGES.'bg1.gif','','','','style="margin-top:72px"')?></td> <td width="100%" height="100%" valign="top"> <table width="100%" style="height:100%" cellspacing="0" cellpadding="0" border="0"> <tr> <td width="100%" height="800" valign="top"> <table width="100%" style="height:100%" cellspacing="0" cellpadding="0" border="0"> <tr> <td width="100%" height="11" valign="top"></td> </tr> <tr> <td width="100%" height="55" valign="top"> <table width="100%" style="height:100%" cellspacing="0" cellpadding="0" border="0"> <tr> <td width="25%" height="100%" valign="top"> <table class="black m1_l" width="100%" style="height:100%" cellspacing="0" cellpadding="0" border="0"> <tr> <td class="m1_r h_text" width="100%" height="100%" valign="top" style="padding-left:15px;"> <?php echo tep_draw_separator('spacer.gif', '1', '8'); ?><br> <?=BOX_HEADING_CURRENCIES?>:<br> <?php echo tep_draw_separator('spacer.gif', '1', '5'); ?><br> <? echo tep_draw_form('currencies', tep_href_link(basename($PHP_SELF), '', $request_type, false), 'get'); reset($currencies->currencies); $currencies_array = array(); while (list($key, $value) = each($currencies->currencies)) { $currencies_array[] = array('id' => $key, 'text' => $value['title']); } $hidden_get_variables = ''; reset($HTTP_GET_VARS); while (list($key, $value) = each($HTTP_GET_VARS)) { if ( ($key != 'currency') && ($key != tep_session_name()) && ($key != 'x') && ($key != 'y') ) { $hidden_get_variables .= tep_draw_hidden_field($key, $value); } } echo tep_draw_pull_down_menu('currency', $currencies_array, $currency, 'onChange="this.form.submit();" class="select"') . $hidden_get_variables . tep_hide_session_id(); echo '</form>'; ?> <br> </td> </tr> </table> </td> <td width="7" height="100%" valign="top"><?php echo tep_draw_separator('spacer.gif', '7', '1'); ?></td> <td width="25%" height="100%" valign="top"> <table class="black m1_l" width="100%" style="height:100%" cellspacing="0" cellpadding="0" border="0"> <tr> <td class="m1_r h_text" width="100%" height="100%" valign="top" style="padding-left:15px;"> <?php echo tep_draw_separator('spacer.gif', '1', '8'); ?><br> <?=BOX_HEADING_LANGUAGES?>:<br> <?php echo tep_draw_separator('spacer.gif', '1', '5'); ?><br> <? if (!isset($lng) || (isset($lng) && !is_object($lng))) { include(DIR_WS_CLASSES . 'language.php'); $lng = new language; } $languages_string = ''; reset($lng->catalog_languages); $rr=0; while (list($key, $value) = each($lng->catalog_languages)) { if ($rr!=0) $languages_string .=tep_draw_separator('spacer.gif', '10', '1'); $languages_string .= '<a href="' . tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('language', 'currency')) . 'language=' . $key, $request_type) . '">' . tep_image(DIR_WS_LANGUAGES . $value['directory'] . '/images/' . $value['image'], $value['name']) . '</a>'; $rr++; } echo $languages_string; ?> <br> </td> </tr> </table> </td> <td width="6" height="100%" valign="top"><?php echo tep_draw_separator('spacer.gif', '6', '1'); ?></td> <td width="25%" height="100%" valign="top"> <table class="black m1_l" width="100%" style="height:100%" cellspacing="0" cellpadding="0" border="0"> <tr> <td class="m1_r h_text" width="100%" height="100%" valign="top" style="padding-left:15px;"> <br style="line-height:10px;"> <a href="<?php echo tep_href_link('wishlist.php')?>"><?php echo BOX_HEADING_CUSTOMER_WISHLIST; ?></a> </td> </tr> </table> </td> <td width="6" height="100%" valign="top"><?php echo tep_draw_separator('spacer.gif', '6', '1'); ?></td> <td width="25%" height="100%" valign="top"> <table class="black m1_l" width="100%" style="height:100%" cellspacing="0" cellpadding="0" border="0"> <tr> <td class="m1_r cart_text" width="100%" height="100%" valign="top" style="padding-left:43px;"> <br style="line-height:10px;"> <font><?=BOX_HEADING_SHOPPING_CART?>:</font><br> <br style="line-height:8px;"> now in your cart <a href="<?=tep_href_link('shopping_cart.php')?>"><strong><?=$cart->count_contents()?> <?=BOX_SHOPPING_CART_EMPTY?></strong></a><br> </td> </tr> </table> </td> </tr> </table> </td> </tr> <tr> <td width="100%" height="6" valign="top"></td> </tr> <tr> <td width="100%" height="210" valign="top"> <table width="100%" style="height:100%" cellspacing="0" cellpadding="0" border="0"> <tr> <td width="189" height="100%" valign="top"> <?=tep_image(DIR_WS_IMAGES.'logo.jpg')?><br> </td> <td width="100%" height="100%" valign="top"> <table width="100%" style="height:100%" cellspacing="0" cellpadding="0" border="0"> <tr> <td width="100%" height="53" valign="top" style="text-align:center"> <a href="<?=tep_href_link('index.php')?>"><?=tep_image_button('l1.jpg')?></a><a href="<?=tep_href_link('products_new.php')?>"><?=tep_image_button('l2.jpg')?></a><a href="<?=tep_href_link('specials.php')?>"><?=tep_image_button('l3.jpg')?></a><a href="<?=tep_href_link('account.php')?>"><?=tep_image_button('l4.jpg')?></a><a href="<?=tep_href_link('contact_us.php')?>"><?=tep_image_button('l5.jpg')?></a><br> </td> </tr> <tr> <td width="100%" height="157" valign="top" style=" background:url(images/t-dr.gif) repeat-x;"> <table width="100%" style="height:100%; background:url(images/t-l.jpg) no-repeat left;" cellspacing="0" cellpadding="0" border="0"> <tr> <td width="100%" height="100%" valign="top" style="background:url(images/t-r.jpg) no-repeat right;"> <div align="right" style="margin: 16px 66px 0px 0px;"> <?=tep_image(DIR_WS_IMAGES.'slogan.jpg')?><br> <br style="line-height:8px;"> <a href="<?=tep_href_link('specials.php')?>"><?=tep_image(DIR_WS_IMAGES.'click.gif')?></a> </div> </td> </tr> </table> </td> </tr> </table> </td> </tr> </table> </td> </tr> <tr> <td width="100%" height="5" valign="top"></td> </tr> Hey guys. I hope I can get some help. I posted in another forum asking this question and got "clobbered". I am having issues with a site that uses tables to put together php files. The files, as per the norm are header.php, footer.php,clumn_left.php, the index page and footer.php. These are put together using an html table. Normally when I put these together it looks great. But i am having troubles with the wishlist.php when it replaces the index.php. And of course I want to make the change in the wishlist.php instead of the others. The files are posted below but I can give you a link offline so you can see what Im trying to say. Thanks. (and Im not sure why but my thread didnt show up in the forum the first time but it did in my subscription, so sorry if it ends up being a double post.) header.php Code: <?php /* $Id: header.php,v 1.42 2003/06/10 18:20:38 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2003 osCommerce Released under the GNU General Public License */ // check if the 'install' directory exists, and warn of its existence if (WARN_INSTALL_EXISTENCE == 'true') { if (file_exists(dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/install')) { $messageStack->add('header', WARNING_INSTALL_DIRECTORY_EXISTS, 'warning'); } } // check if the configure.php file is writeable if (WARN_CONFIG_WRITEABLE == 'true') { if ( (file_exists(dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/includes/configure.php')) && (is_writeable(dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/includes/configure.php')) ) { $messageStack->add('header', WARNING_CONFIG_FILE_WRITEABLE, 'warning'); } } // check if the session folder is writeable if (WARN_SESSION_DIRECTORY_NOT_WRITEABLE == 'true') { if (STORE_SESSIONS == '') { if (!is_dir(tep_session_save_path())) { $messageStack->add('header', WARNING_SESSION_DIRECTORY_NON_EXISTENT, 'warning'); } elseif (!is_writeable(tep_session_save_path())) { $messageStack->add('header', WARNING_SESSION_DIRECTORY_NOT_WRITEABLE, 'warning'); } } } // check session.auto_start is disabled if ( (function_exists('ini_get')) && (WARN_SESSION_AUTO_START == 'true') ) { if (ini_get('session.auto_start') == '1') { $messageStack->add('header', WARNING_SESSION_AUTO_START, 'warning'); } } if ( (WARN_DOWNLOAD_DIRECTORY_NOT_READABLE == 'true') && (DOWNLOAD_ENABLED == 'true') ) { if (!is_dir(DIR_FS_DOWNLOAD)) { $messageStack->add('header', WARNING_DOWNLOAD_DIRECTORY_NON_EXISTENT, 'warning'); } } if ($messageStack->size('header') > 0) { echo $messageStack->output('header'); } ?> <table width="100%" style="height:100%; background:#252525;" cellspacing="0" cellpadding="0" border="0"> <tr> <td width="6" height="100%" valign="top"><?=tep_image(DIR_WS_IMAGES.'bg1.gif','','','','style="margin-top:72px"')?></td> <td width="100%" height="100%" valign="top"> <table width="100%" style="height:100%" cellspacing="0" cellpadding="0" border="0"> <tr> <td width="100%" height="800" valign="top"> <table width="100%" style="height:100%" cellspacing="0" cellpadding="0" border="0"> <tr> <td width="100%" height="11" valign="top"></td> </tr> <tr> <td width="100%" height="55" valign="top"> <table width="100%" style="height:100%" cellspacing="0" cellpadding="0" border="0"> <tr> <td width="25%" height="100%" valign="top"> <table class="black m1_l" width="100%" style="height:100%" cellspacing="0" cellpadding="0" border="0"> <tr> <td class="m1_r h_text" width="100%" height="100%" valign="top" style="padding-left:15px;"> <?php echo tep_draw_separator('spacer.gif', '1', '8'); ?><br> <?=BOX_HEADING_CURRENCIES?>:<br> <?php echo tep_draw_separator('spacer.gif', '1', '5'); ?><br> <? echo tep_draw_form('currencies', tep_href_link(basename($PHP_SELF), '', $request_type, false), 'get'); reset($currencies->currencies); $currencies_array = array(); while (list($key, $value) = each($currencies->currencies)) { $currencies_array[] = array('id' => $key, 'text' => $value['title']); } $hidden_get_variables = ''; reset($HTTP_GET_VARS); while (list($key, $value) = each($HTTP_GET_VARS)) { if ( ($key != 'currency') && ($key != tep_session_name()) && ($key != 'x') && ($key != 'y') ) { $hidden_get_variables .= tep_draw_hidden_field($key, $value); } } echo tep_draw_pull_down_menu('currency', $currencies_array, $currency, 'onChange="this.form.submit();" class="select"') . $hidden_get_variables . tep_hide_session_id(); echo '</form>'; ?> <br> </td> </tr> </table> </td> <td width="7" height="100%" valign="top"><?php echo tep_draw_separator('spacer.gif', '7', '1'); ?></td> <td width="25%" height="100%" valign="top"> <table class="black m1_l" width="100%" style="height:100%" cellspacing="0" cellpadding="0" border="0"> <tr> <td class="m1_r h_text" width="100%" height="100%" valign="top" style="padding-left:15px;"> <?php echo tep_draw_separator('spacer.gif', '1', '8'); ?><br> <?=BOX_HEADING_LANGUAGES?>:<br> <?php echo tep_draw_separator('spacer.gif', '1', '5'); ?><br> <? if (!isset($lng) || (isset($lng) && !is_object($lng))) { include(DIR_WS_CLASSES . 'language.php'); $lng = new language; } $languages_string = ''; reset($lng->catalog_languages); $rr=0; while (list($key, $value) = each($lng->catalog_languages)) { if ($rr!=0) $languages_string .=tep_draw_separator('spacer.gif', '10', '1'); $languages_string .= '<a href="' . tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('language', 'currency')) . 'language=' . $key, $request_type) . '">' . tep_image(DIR_WS_LANGUAGES . $value['directory'] . '/images/' . $value['image'], $value['name']) . '</a>'; $rr++; } echo $languages_string; ?> <br> </td> </tr> </table> </td> <td width="6" height="100%" valign="top"><?php echo tep_draw_separator('spacer.gif', '6', '1'); ?></td> <td width="25%" height="100%" valign="top"> <table class="black m1_l" width="100%" style="height:100%" cellspacing="0" cellpadding="0" border="0"> <tr> <td class="m1_r h_text" width="100%" height="100%" valign="top" style="padding-left:15px;"> <br style="line-height:10px;"> <a href="<?php echo tep_href_link('wishlist.php')?>"><?php echo BOX_HEADING_CUSTOMER_WISHLIST; ?></a> </td> </tr> </table> </td> <td width="6" height="100%" valign="top"><?php echo tep_draw_separator('spacer.gif', '6', '1'); ?></td> <td width="25%" height="100%" valign="top"> <table class="black m1_l" width="100%" style="height:100%" cellspacing="0" cellpadding="0" border="0"> <tr> <td class="m1_r cart_text" width="100%" height="100%" valign="top" style="padding-left:43px;"> <br style="line-height:10px;"> <font><?=BOX_HEADING_SHOPPING_CART?>:</font><br> <br style="line-height:8px;"> now in your cart <a href="<?=tep_href_link('shopping_cart.php')?>"><strong><?=$cart->count_contents()?> <?=BOX_SHOPPING_CART_EMPTY?></strong></a><br> </td> </tr> </table> </td> </tr> </table> </td> </tr> <tr> <td width="100%" height="6" valign="top"></td> </tr> <tr> <td width="100%" height="210" valign="top"> <table width="100%" style="height:100%" cellspacing="0" cellpadding="0" border="0"> <tr> <td width="189" height="100%" valign="top"> <?=tep_image(DIR_WS_IMAGES.'logo.jpg')?><br> </td> <td width="100%" height="100%" valign="top"> <table width="100%" style="height:100%" cellspacing="0" cellpadding="0" border="0"> <tr> <td width="100%" height="53" valign="top" style="text-align:center"> <a href="<?=tep_href_link('index.php')?>"><?=tep_image_button('l1.jpg')?></a><a href="<?=tep_href_link('products_new.php')?>"><?=tep_image_button('l2.jpg')?></a><a href="<?=tep_href_link('specials.php')?>"><?=tep_image_button('l3.jpg')?></a><a href="<?=tep_href_link('account.php')?>"><?=tep_image_button('l4.jpg')?></a><a href="<?=tep_href_link('contact_us.php')?>"><?=tep_image_button('l5.jpg')?></a><br> </td> </tr> <tr> <td width="100%" height="157" valign="top" style=" background:url(images/t-dr.gif) repeat-x;"> <table width="100%" style="height:100%; background:url(images/t-l.jpg) no-repeat left;" cellspacing="0" cellpadding="0" border="0"> <tr> <td width="100%" height="100%" valign="top" style="background:url(images/t-r.jpg) no-repeat right;"> <div align="right" style="margin: 16px 66px 0px 0px;"> <?=tep_image(DIR_WS_IMAGES.'slogan.jpg')?><br> <br style="line-height:8px;"> <a href="<?=tep_href_link('specials.php')?>"><?=tep_image(DIR_WS_IMAGES.'click.gif')?></a> </div> </td> </tr> </table> </td> </tr> </table> </td> </tr> </table> </td> </tr> <tr> <td width="100%" height="5" valign="top"></td> </tr> Also my files have to much code for me to post here s if someone wants me to email them or post them somewhere else please let me know. Hello, Im making my navigation bar with a mouse over effect on the buttons. however im getting "extra space" under the command. A blank page can be seen at saracrew.org/blank.html Any help is greatly appricated, Thanks! <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" > <head> <title>SARAcrew.org</title> <link rel="stylesheet" type="text/css" href="general.css" /> </head> <body bgcolor="505769" leftmargin=0 topmargin=0> <table border="0" cellspacing="0" cellpadding="0" bgcolor="505769"> <tr><td colspan="4"> <table border=0 cellpadding=0 cellspacing=0> <tr> <td colspan="4"><img src= "images/banner1.jpg" alt="banner" /></td> </tr> <tr> <td><table border=0 cellpadding=0 cellspacing=0> <td><img src= "images/left_vbar_nav.gif" alt="vbar" /></td> <td> <table border=0 cellpadding=0 cellspacing=0> <tr><td><img src= "images/nav_bar_1.gif" /></td></tr> <tr><td><a href=home.html><img src="images/home_off.gif" onmouseover="this.src='images/home_on.gif'" onmouseout="this.src='images/home_off.gif'" border=0 /></a> </td></tr> <tr><td><img src= "images/nav_bar_2.gif" /></td></tr> <tr><td><a href=news.html><img src="images/news_off.gif" onmouseover="this.src='images/news_on.gif'" onmouseout="this.src='images/news_off.gif'" border=0 /></a> </td></tr> <tr><td><img src= "images/nav_bar_3.gif" /></td></tr> <tr><td><a href=results.html><img src="images/results_off.gif" onmouseover="this.src='images/results_on.gif'" onmouseout="this.src='images/results_off.gif'" border=0 /></a> </td></tr> <tr><td><img src= "images/nav_bar_4.gif" /></td></tr> <tr><td><a href=board.html><img src="images/board_off.gif" onmouseover="this.src='images/board_on.gif'" onmouseout="this.src='images/board_off.gif'" border=0 /></a> </td></tr> <tr><td><img src= "images/nav_bar_5.gif" /></td></tr> <tr><td><a href=pictures.html><img src="images/pictures_off.gif" onmouseover="this.src='images/pictures_on.gif'" onmouseout="this.src='images/pictures_off.gif'" border=0 /></a> </td></tr> <tr><td><img src= "images/nav_bar_6.gif" /></td></tr> <tr><td><a href=orange_oar.html><img src="images/orange_oar_off.gif" onmouseover="this.src='images/orange_oar_on.gif'" onmouseout="this.src='images/orange_oar_off.gif'" border=0 /></a> </td></tr> <tr><td><img src= "images/nav_bar_7.gif" /></td></tr> <tr><td><a href=dues.html><img src="images/dues_off.gif" onmouseover="this.src='images/dues_on.gif'" onmouseout="this.src='images/dues_off.gif'" border=0 /></a> </td></tr> <tr><td><img src= "images/nav_bar_8.gif" /></td></tr> <tr><td><a href=info.html><img src="images/info_off.gif" onmouseover="this.src='images/info_on.gif'" onmouseout="this.src='images/info_off.gif'" border=0 /></a> </td></tr> <tr><td><img src= "images/nav_bar_9.gif" /></td></tr> <tr><td><a href=email.html><img src="images/email_off.gif" onmouseover="this.src='images/email_on.gif'" onmouseout="this.src='images/email_off.gif'" border=0 /></a> </td></tr> <tr><td><img src= "images/nav_bar_10.gif" /></td></tr> </table> </td> <td><img src= "images/right_vbar_nav.gif" alt="vbar" /></td> </table></td></tr> </table> </td> </tr> </table> </td></tr> </table> </body> </html> I am trying to add in an extra column to my website. It was built for a 768 resolution when I really want it bigger now. I would like to add a column on the right hand side for some news and things like that...is there an easy way to just add in a column along the right hand side of the webpage? Thanks. Hi, I have a requirment in my project wherein I have to read contents from another webpage hosted remotely, All I understand is that "View source" is one option, but how do I copy automatically the contents of the remote web page lets say for ex: "content" type data into my webpage Copying and pasting content manually is not allowed. And dont worry about the copyright stuffs. Its just for internal use. Thanks, Jay My webmaster is on vacation and I am trying to post a News Release on our website. This is a very basis question: The copy on this page is centered, and I want to align it left. Here's the page: http://www.247-direct-mail-services.com/news/ Seems to me, this is the style sheet html for this page: <p style="font-family:Arial, Helvetica, sans-serif; font-size:16px; font-weight:bold; text-align:left; color:#ffffff;"> But it's not showing this font nor aligning left. I don't know how to fix this. Hoping to get input. Thx. |