HTML - Highlighting A Word From A Link?
I'm trying to draw the visitor to this link from my site to the name, "Brett Allen", so they don't have to look though all the names to see it there.
I've tried adding to the link, #brett, #brett+allen but it don't do anything. I can't add < A NAME="codeword" > to the page on nypost site, as its not mine. So, any ideas what I can add to the link? http://www.nypost.com/seven/09222006...y_weekend_.htm Similar TutorialsI have this; You can download a <a href="hpswmtmreg.doc">Word Document</a> file, (click to open, right click to download). <br><br> You can download a <a href="hpswmtmreg.zip">Zip</a> file, (right click to download). I thought it was simple, straight forward, but I get server errors (from my host). Is there something special abpout .doc files or .zips for that matter. Am I doing something wrong? Thanks Hello. I am trying to code a "simple" webpage. It will have two drop downs. Each drop down will have a few selections. You, the user, choose two selections from each drop down. The you press submit/go button. if you house apples for dropdown 1 and green for dropdown 2, it would then insert these keywords into a link such as www.test.com/apples11green.html or www.test.com/apples/green.html, etc etc... basically i want to specify to variable spots in a link, and have the drop down selections place into those links. Hi, i am sure you's are all familiar with photobucket, well i was wonderig if anyone knows the code to automatically highlight and copy to the clipboard information in a box when it is just simply clicked like it does with the ht code, image url, etc next to your picture on photobucket. thanks, karl Well hello folks. Nice place you have here. This looks like just the place to ask a question I have, I hope you'll indulge me. I'm working through my blog site and trying to get it up to xhtml snuff...but that's another issue. What I'd like to start with is a little quirky problem that only seems to effect IE6. When users try to highlight text, odd things happen. Here's one person's attempt to explain it: Quote: This is the pattern: Highlight works on the page displayed on the screen (either main page or each entry). The spot I pointed to before is where the screen display ends on my initial main page load. Once I click on each entry, highlight works on the text displayed on that initial screen - it stops working (starts highlight blocks) once I scroll down beyond that initial screen display. It seems to repeat this pattern with quotes, comments, or just entry text - just beyond that initial screen. Hope it helps. I believe this highlighting issue has to do with my use of css positioning. Let me show you just the key parts of the html page, and then the corresponding bits of the stylesheet. Let's say we have a page consisting of the following div's: Code: <div id="overall"> <div id="titlecell"> <div id="navbar"> <div id="maincell"> <div id="titlebarright"> <div id="leftmargin2"> <div id="rightmargin2"> Here are the related bits of CSS: Code: div#overall { position:relative; width: 1000px; margin: auto; } div#titlecell { text-align: right; vertical-align: top; height: 150px; font-size:x-small; position: absolute; top: 0px; left: 0px; width: 1000px; } div#navbar { font-size:x-small; position: absolute; top: 15px; left: 650px; } div#maincell { color: #252525; text-align: left; vertical-align: top; padding-top: 30px; width: 580px; position: absolute; top: 160px; left: 0px; } div#titlebarright { width: 382px; height: 185px; background: url(http://www.solomonia.com/images/titlebarrightbox.gif) no-repeat; position:absolute; top:95px; left:600px; } div#leftmargin2 { height: 10000px; color: #252525; vertical-align: top; text-align: center; width: 160px; padding: 0; position: absolute; top: 285px; left: 600px; } div#rightmargin2 { height: 10000px; color: #252525; width: 220px; text-align: center; vertical-align: top; padding: 0; position: absolute; top: 285px; left: 763px; } So note, we have a div called "overall" whose position is set to "relative" which functions as a container for all the other divs with position set to "absolute." I'm figuring there's something about this that gives IE fits when highlighting. What do you think? Edit: My apologies. This probably should have been put in the css forum. I have xhtml on the brain I guess. Please feel free to move. Hi: - All of the left-menu icons correctly highlight when I scroll over them except for the one (which I have most recently added to the site) - All of the left-menu icons correctly remain highlighted when I travel to any given corresponding destination page on the site Here's the function call of the menu button in question...this is logically identical to the other function calls invoking mouse-over "highlighting": <div><a href="destination.html" onmouseover="java script:rollOver('ln_07','ln_07_ov');" onmouseout="java script:rollOver('ln_07','ln_07');"><img src="img/ln_07.jpg" name="ln_07" alt="Destination" width="126" height="26" border="0"></a></div> Just to restate: the scroll-over highlights are correctly invoked in all instances with the exception of the one menu icon applicable to all pages of the site except its destination page (where it correctly remains in highlight mode...) Many thanks-- BR Hey all! I'm trying to set a predefined value in a <select> menu, that is to say, I want something to be highlighted before the user does anything. I've tried the following: <select name="test" size="2" value="x"> <option>x</option><option>y</option> </select> This does not work. Any advice would be great! Thanks for your time. Hi, I need to move the hide content link from the bottom up to the top. It needs to replace the show category. Example: show category is clicked hide category is then displayed. When hide category is clicked show category is displayed. Also I can't seem to make the 1 2 3 4 buttons highlight when active. When you click on a number it slides along to that number but doesn't highlight what number you are on Code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <meta http-equiv="Content-type" content="text/html; charset=utf-8" /> <title>test</title> <style type="text/css" media="screen"> /* CSS Reset */ * { margin: 0; padding: 0; border: 0; outline: 0; } body { font-family: Arial, Helvetica, sans-serif; background-color: #FFFFFF; color:#FF0000; } a:link { color: #999999; text-decoration: none; font-size:14px; } a:visited { color: #999999; text-decoration: none; font-size:14px; } a:hover { color: #FF0000; letter-spacing: 3px; text-decoration: none; font-size:14px; } a:active { color: #FF0000; font-size:14px; } #wrapper{ position:relative; width:730px; height:600px; margin:0px auto; } #images{ width:730px; height:552px; overflow:hidden; float:right; position: absolute; top: 48px; } #textbox{ position: absolute; width:205px; height:40px; background-color: #FFFFFF; top: 68px; left: 20px; z-index: 2; padding: 10px; border-bottom: 2px solid red; } #logo { position: absolute; width: 101px; position: absolute; left: 634px; top: 19px; padding: opx; margin: 0px; z-index: 2; } .more { display: none; text-decoration: none; font-family: Arial, Helvetica, sans-serif; background-color: #FFFFFF; border-bottom: 2px solid red; padding-left: 8px; padding-right: 8px; margin-left: -10px; width: 209px; } a.mo hover { text-decoration: none;} a.showLink, a.hideLink { text-decoration: none; font-size: xx-small; color: #36f; padding-left: 8px; /*** background: transparent url(down.gif) no-repeat left;***/ } a.hideLink { /*** background: transparent url(up.gif) no-repeat left;***/ } .drop1 { font-size: 12px; font-weight: bold; } .drop2 { color: #666666; font-size: smaller; } #apDiv1 { position:absolute; left:0px; top:px; width:141px; height:21px; z-index:1; } </style> <script language="javascript" type="text/javascript"> function showHide(shID) { if (document.getElementById(shID)) { if (document.getElementById(shID+'-show').style.display != 'none') { document.getElementById(shID+'-show').style.display = 'none'; document.getElementById(shID).style.display = 'block'; } else { document.getElementById(shID+'-show').style.display = 'inline'; document.getElementById(shID).style.display = 'none'; } } } </script> </head> <body> <div id="wrapper"> <div id= logo><img src="logo2.png" width="101" height="92" /></div> <div id="textbox"> <div><img src="logo_dedon.png" alt=""/> <a href="#" id="example-show" class="showLink" onclick="showHide('example');return false;"><img src="ShowProduct.jpg" alt="" /></a><br /> <img src="clear.gif" alt="" width="135" height="10" /> <a href="#image1" id="tab1">1</a> <a href="#image2" id="tab1">2</a> <a href="#image3" id="tab1">3</a> <a href="#image4" id="tab1">4</a> </div> <div id="example" class="more"> <p><span class="drop1">BARCELONA</span><br /> <span class="drop2">Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Proin non mi in urna hendrerit tincidunt. Maecenas eleifend erat et lacus. Sed tempor. Sed venenatis consequat neque. Sed massa. Donec quis orci sed lacus ullamcorper venenatis. </span></p> <p><a href="#" id="example-hide" class="hideLink" onclick="showHide('example');return false;"><img src="HideProduct.jpg" alt="" /></a></p> </div> </div> <div id="images"> <div><a name="image1"></a><img src="001.jpg" alt="" title="" /></div> <div><a name="image2"></a><img src="002.jpg" alt="" title="" /></div> <div><a name="image3"></a><img src="003.jpg" alt="" title="" /></div> <div><a name="image4"></a><img src="004.jpg" alt="" title="" /></div> </div> </div> </body> </html> Please can some one help? many thanks Joe Hi, In WordPerfect, I could point to a blank part of the page and start typing. Can Word do that? How do I make the content of my page be in a box in the center? Like, erm, lemme find an example. Like this kinda. See how all the stuff is in the middle, and there are two border type things on the outside? Sorry for sounding like such a beginner or whatever, but I have no idea how to explain this. I have several links on my site, all in the form of <a href="http://www.mywebsite.com">mywebsite</a> How do I need to change it such that a new instance of the browser is used in which the linked site is displayed. I wanted to google this because I hate having to bug for help, but I'm not sure how to phrase what I'm looking for. I am trying to make a page compatible in both firefox and ie, which Mandarin helped me with tremendously. Now that I have things adjusted, I'm having the issue where the end of the page is showing like a cut sheet of paper over the background? I guess that's the best description I could give. In IE 9, this bottom looks odd. http://exit20.com/vguadiana/firefox/...materials.html Any recommendations or something I could read to fix it? Not sure if this is the correct forum for this issue, but will give it a shot. I am trying to convert a word document to html, but the basic 'save as html' doesn't do it for me. I need to create individual html files for each topic in the document map. I have found some softwares that can do this, but every one of them produces html files that cause that annoying internet explorer popup that says something about ActiveX controls. Does anybody know how to automatically produce html files that do not cause this popup. Thank you for your help. Hi, I have a huge text that i need to display in a span tag on my page. Currently the words are breaking at the end of the line, i.e. if the word if "Understand" and there is not enough space to display the entire word, half of the word is displayed in the space available, and the remaining on the next line. However, i want that the entire word be displayed on the next line. Please suggest how this can be done. Regards, Ankit!! I have a paragraph with the same word typed over and over again throughout it, but I dont feel like modifying that word over and over again each time I change it in every single spot that it is located..... example sentence: word that will be typed over and over again: GOOGLE Hello this is my name and I like to use GOOGLE as my search engine, however I think that GOOGLE is not the best search engine but I still use GOOGLE anyway. ----------------------------- Now I want to change it to YAHOO but w/o changing the word each time it shows in the sentence Hello this is my name and I like to use YAHOO as my search engine, however I think that YAHOO is not the best search engine but I still use YAHOO anyway. Am I making sense? I'm tring to open word in a frame to read a word doc. Word will not cooperate. Is this possible to do? TIA, Jeff <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Untitled Document</title> </head> <frameset rows="*" cols="220,*" frameborder="no" border="0" framespacing="0"> <frame src="tree/index.php" name="leftFrame" scrolling="Yes" noresize="noresize" id="leftFrame" title="leftFrame" /> <frameset rows="40,*" frameborder="no" border="0" framespacing="0"> <frame src="rfp_top.php" name="topFrame" scrolling="No" noresize="noresize" id="topFrame" title="topFrame" /> <frame src="doc.doc" name="mainFrame" id="mainFrame" title="mainFrame" /> </frameset> </frameset> <noframes><body> </body> </noframes></html> I hope this is posted in the right section. If not, I would appreciate some advice as to which forum section to post in. I'm after code / software that can automatically detect the number of words in a range of different document formats. It's for a proofreading website so has to be reliable. Any help or suggestions would be much appreciated. Louis. I have a word document that I need to add to web template so I need it in html so I can just copy and paste the info. I have tried saving the page as webpage in MS Word2007 but this saves it as an MHTML doc and I cannot just copy and paste that to my template. Is there anything I can use to convert the doc into html and keep the formatting in the doc? When I set a div overflow on a sentence that is in a set width...if a word is too big it cuts off the whole word. Is there a way to break by character instead of word? Hi, My code: Code: <div style="width: 100px;"><table style="border-collapse: collapse;" border="0" cellpadding="4" cellspacing="0"> <tbody><tr> <td> <table border="0" cellpadding="0" cellspacing="0"> <tbody><tr> <td> <code><span style="color: rgb(0, 0, 0);"> <span style="color: rgb(0, 0, 187);">$username </span><span style="color: rgb(0, 119, 0);">= </span><span style="color: rgb(0, 0, 187);">$_POST</span><span style="color: rgb(0, 119, 0);">[</span><span style="color: rgb(221, 0, 0);">"username"</span><span style="color: rgb(0, 119, 0);">]; <br></span><span style="color: rgb(0, 0, 187);">$password </span><span style="color: rgb(0, 119, 0);">= </span><span style="color: rgb(0, 0, 187);">$_POST</span><span style="color: rgb(0, 119, 0);">[</span><span style="color: rgb(221, 0, 0);">"password"</span><span style="color: rgb(0, 119, 0);">]; <br></span><span style="color: rgb(0, 0, 187);">$result </span><span style="color: rgb(0, 119, 0);">= </span><span style="color: rgb(0, 0, 187);">mysql_query</span><span style="color: rgb(0, 119, 0);">(</span><span style="color: rgb(221, 0, 0);">"SELECT * FROM members WHERE username = '$username' AND password = '$password';"</span><span style="color: rgb(0, 119, 0);">);</span> </span> </code><br> </td> </tr> </tbody></table> </td> </tr> </tbody></table></div> I have a DIV tag around the code which has style="width: 100px;" but for some reason the width is A LOT bigger. How to make it so that it will wordwrap? what if you cant get htaccess to become writeable in word press will it affect my blogging anybody know |