HTML - Detect Text In A Target Site
Okay, first off I apologize but I am new to HTML and still learning, so sorry if this is an obvious question but I've been googling/researching/asking people for several days and I have come up with nothing worthwhile.
On my website, I have it set up to where when you load the page it opens a small pop-up that asks for a simple user input (btw this is the idea of the page...) however the pop-up that loads is an external page. Is there a way that in MY page I can insert a code that would detect the confirmation text inside the pop-up window? Sorry if this doesn't make sense or isn't even possible, but I figured I may as well ask before I lose hope entirely. Similar TutorialsI am putting together a website for a student group and realized a big problem. The site is a 3 column style, and the bottom half of the left column is "Latest News". I just realized that in my current setup everytime I make a change to the "latest news", I will have to make the change on all of the many pages it is on. Is there a way to make a "latest news" text file and just have that content accessed from each page so that I will only have to make changes to the one file and have it show up on all pages? I have tried searching for this for an hour but just can't seem to hit the correct keyword that explains how to do it. Thanks!!! I've found some help here already, so thanks in advance to the good folks that help us novices. I have just a couple that need addressing, but they're pretty important to me, so hopefully someone can spell them out. I'll explain them below but here's a quick rundown first: 1.) Wrapping text around a captioned image 3.) A pop-up text bar when a link is moused over. 1.) When I'm posting an image, a caption is almost always necessary. Here's the code I've been using for the image and caption: "<table class="image"> <caption align="bottom">CAPTION</caption> <tr><td><IMAGE LINK></td></tr> </table>" But when I post like that, there's a break between paragraphs to show the image, which disrupts the reading flow. I need a code that will let me post an image, add a bottom-aligned caption, and still have the story text appear alongside the image. NOTE: I've been shown the "align=left/right" code, but where do I insert that in the code listed above?? I've tried right before and right after the image source code, but to no avail. Help, please!! 2.) I'm willing to spend hours to learn this one. Somebody, somebody has to know how to do this one. It's done on this site! OK, here it is. You mouse over a post listing, and a text bar appears next to the cursor. In that bar is the first few lines of the person's post. HOW IS THIS DONE??? For someone looking to find new ways to boost hits on a news site, this is a priceless gem. If anyone knows how to do this or something similar in HTML, PLEASE let me know. Thanks in advance to each and every person who reads this, and a special thanks to those who take the time to help. It means much. aefattwotgm@aol.com Hello, I am trying to create a page where the user can select four of their best skills and put in their past experience (in years) in previously defined boxes and have that automatically update the "results." But, i need the results to be filterable to match the top three skills exactly. So i put in skils A,B,C,D and i get results of jobs that "match" A,B,C. I have created a javascript for show/hide but i dont know how to add this updatable/filterable content. Here is a demo of my page Quote: <html> <head> <script type="text/javascript"> <!-- function experience(element_id) { var results = document.getElementById(element_id + "_Results"); var element = document.getElementById(element_id); results.value = element.value; } </script> <script> function showhide(id){ if (document.getElementById){ obj = document.getElementById(id); if (obj.style.display == "none"){ obj.style.display = ""; } else { obj.style.display = "none"; } } } </script> <title></title> </head> <body> <form name="compass"> <table border="1" width="100%"> <tr> <td colspan="2">Top Competencies</td> </tr> <tr> <td><select name="competencies"><option value="Setting Direction">Setting Direction</option><option value="Leadership Courage">Leadership Courage</option><option value="Creating the Environment">Creating the Environment</option><option value="Building and Maintaing Relationships">Building and Maintaining Relationships</option><option value="Developing for the Future">Developing for the Future</option><option value="Organizational Savvy">Organizational Savvy</option><option value="Achieving Measurable Results">Achieving Measurable Results</option> <option value="Customer Focus">Customer Focus</option> <option value="Ethics and Integrity">Ethics and Integrity</option> <option value="Composure">Composure</option> <option value="Personal Learning">Personal Learning</option> <option value="Dealing with Ambiguity">Dealing with Ambiguity</option> <option value="Decision-Making">Decision-Making</option> <option value="Interpersonal Savvy">Interpersonal Savvy</option> <option value="Results Oriented">Results Oriented</option> </select></td> <td><select name="competencies"><option value="Setting Direction">Setting Direction</option><option value="Leadership Courage">Leadership Courage</option><option value="Creating the Environment">Creating the Environment</option><option value="Building and Maintaing Relationships">Building and Maintaining Relationships</option><option value="Developing for the Future">Developing for the Future</option><option value="Organizational Savvy">Organizational Savvy</option><option value="Achieving Measurable Results">Achieving Measurable Results</option> <option value="Customer Focus">Customer Focus</option> <option value="Ethics and Integrity">Ethics and Integrity</option> <option value="Composure">Composure</option> <option value="Personal Learning">Personal Learning</option> <option value="Dealing with Ambiguity">Dealing with Ambiguity</option> <option value="Decision-Making">Decision-Making</option> <option value="Interpersonal Savvy">Interpersonal Savvy</option> <option value="Results Oriented">Results Oriented</option> </select></td> </tr> <tr> <td><select name="competencies"><option value="Setting Direction">Setting Direction</option><option value="Leadership Courage">Leadership Courage</option><option value="Creating the Environment">Creating the Environment</option><option value="Building and Maintaing Relationships">Building and Maintaining Relationships</option><option value="Developing for the Future">Developing for the Future</option><option value="Organizational Savvy">Organizational Savvy</option><option value="Achieving Measurable Results">Achieving Measurable Results</option> <option value="Customer Focus">Customer Focus</option> <option value="Ethics and Integrity">Ethics and Integrity</option> <option value="Composure">Composure</option> <option value="Personal Learning">Personal Learning</option> <option value="Dealing with Ambiguity">Dealing with Ambiguity</option> <option value="Decision-Making">Decision-Making</option> <option value="Interpersonal Savvy">Interpersonal Savvy</option> <option value="Results Oriented">Results Oriented</option> </select></td> <td><select name="competencies"><option value="Setting Direction">Setting Direction</option><option value="Leadership Courage">Leadership Courage</option><option value="Creating the Environment">Creating the Environment</option><option value="Building and Maintaing Relationships">Building and Maintaining Relationships</option><option value="Developing for the Future">Developing for the Future</option><option value="Organizational Savvy">Organizational Savvy</option><option value="Achieving Measurable Results">Achieving Measurable Results</option> <option value="Customer Focus">Customer Focus</option> <option value="Ethics and Integrity">Ethics and Integrity</option> <option value="Composure">Composure</option> <option value="Personal Learning">Personal Learning</option> <option value="Dealing with Ambiguity">Dealing with Ambiguity</option> <option value="Decision-Making">Decision-Making</option> <option value="Interpersonal Savvy">Interpersonal Savvy</option> <option value="Results Oriented">Results Oriented</option> </select></td> </tr> <tr> <td colspan="1"><input type="text" name="1" size="100%" value="Consulting to senior leadership" disabled></td> <td colspan="1"><input type="text" id="Requirements1" name="Requirements" onChange="experience('Requirements1')" value="Enter Years"></td> </tr> <tr> <td colspan="1"><input type="text" name="2" size="100%" value="Equal Employment Opportunity (EEO) and related human resource practices" disabled></td> <td colspan="1"><input type="text" id="Requirements2" name="Requirements" onChange="experience('Requirements2')" value="Enter Years"></td> </tr> <tr> <td colspan="1"><input type="text" name="3" size="100%" value="Recruiting with a large company" disabled></td> <td colspan="1"><input type="text" id="Requirements3" name="Requirements" onChange="experience('Requirements3')" value="Enter Years"></td> </tr> <tr> <td colspan="1"><input type="text" name="4" size="100%" value="Leadership and management" disabled></td> <td colspan="1"><input type="text" id="Requirements4" name="Requirements" onChange="experience('Requirements4')" value="Enter Years"></td> </tr> <tr> <td colspan="1"><input type="text" name="5" size="100%" value="Recruiting for diverse functional areas" disabled></td> <td colspan="1"><input type="text" id="Requirements5" name="Requirements" onChange="experience('Requirements5')" value="Enter Years"></td> </tr> <tr> <td colspan="4">Results</td> </tr> <tr> <td colspan="1"><div style="display:;" id="script"><input type="text" name="1" size="100%" value="Consulting to senior seadership" disabled></td> <td colspan="1"><input type="text" id="Requirements1_Results" name="Requirements1_Results" disabled></td> </tr> <tr> <td colspan="1"><div style="display:;" id="script2"><input type="text" name="2" size="100%" value="Equal Employment Opportunity (EEO) and related human resource practices" disabled></td> <td colspan="1"><input type="text" id="Requirements2_Results" name="Requirements2_Results" disabled></td> </tr> <tr> <td colspan="1"><input type="text" name="3" size="100%" value="Recruiting with a large company" disabled></td> <td colspan="1"><input type="text" id="Requirements3_Results" name="Requirements3_Results" disabled></td> </tr> <tr> <td colspan="1"><input type="text" name="4" size="100%" value="Leadership and management" disabled></td> <td colspan="1"><input type="text" id="Requirements4_Results" name="Requirements4_Results" disabled></td> </tr> <tr> <td colspan="1"><input type="text" name="5" size="100%" value="Recruiting for diverse functional areass" disabled></td> <td colspan="1"><input type="text" id="Requirements5_Results" name="Requirements5_Results" disabled></td></div> </tr> <p><a href="#" onclick="showhide('script'); return(false);">hide again</a></p> </table> </form> </body> </html> That is the page, i know it looks long and codey but its just because it has many examples. I really would appreciate any help! Thanks so much for all your past help guys/gals Can i just place some html in between the head tags or ?? to make the text change to arial for example? http://goldenworldgoods.awardspace.com/ Hello again, I did this site in Dreamweaver, looked fine in my dreamweaver editor, uploaded it and voila everything goes nuts. List of Problems: The Links are not positioned properly, not big enough plus the drop downs to the bottom and not to the right. That was properly my fault since I just copied a suckerfish method... But can someone help with this. If you study the News Header in the CSS, it says it has a background image, how ever it doesn't show when I uploaded it. I know the url and the pic is correct cause it worked in Dreamweaver... The background for "welcome" is all the way up there which isn't supposed to happen, it supposed to be right on top of the Hello text but that isn't happening either. The hello and welcome are supposed to be aligned to the left of the right header. Thats about it, please can someone help me. I've changed the format of this like 3 times just to get it correctly done, but nothings working. Thank you And don't worry I got it all validated and what not Hello, I have a site that uses iFrames and I had to remove one of the iframes to have open a javascript page in that location. By my problem is that when people go to click on the other links, it no longer opens in that main area since it no longer has a target name located with it. I was wondering if it was possible to add one or if not, is there another way? The code below is what I have and I need to be able to have a section like I do below where it has the javascript text. Thank you very much! <div id="s" style="position:absolute; top:375px; left:65px; width:690px; height:1500px; text-align:left;"><script type="text/javascript" src="url here" ></script><div align="center" class="badge" style="width:100%;"><p style="margin-top: 2px; margin-bottom: 5px;"></p></div></div> My site is http://www.freshpaintnyc.blogspot.com in the side bar... I embeded an RSS widget called "feedwind" under "message board". The embed code feedwind gives allows you to change the target of the RSS link once it's clicked... either in the same window or a new window "_blank". My question is... I don't want the link to open in a new window, i want it to open in the same window. except in the "main" window with the exsisting sidebar still there. the "main" or "content" div id label... how do I send that RSS link that is being fed it to open in the "left column" or main, content, etc... whatever it should be called...? I want it to look like this... http://freshpaintnyc.blogspot.com/p/...paint-nyc.html hello i have used name and target thing with frames but can i use this with tables too ?? i mean like , i name different columns n rows according to my design and than can i 'target ' pages/content to some specific column or row just like we can do in frames. i have Code: <object type="text/html" name="menu" id="menu" width="850" height="450" border="0" data="http://174.132.130.34/~****er10/menu.html"></object> inside this file i have a java script that on mouse over it has a drop down menu now for the links in the drop down are listed like so Code: <div id="dropmenu1_d" class="dropmenudiv_d"> <a href="/about/" target="_parent">About Us</a> <a href="/about/contact.html" target="_parent">Contact Us</a> </div> when i click on the menu links they still open in the same object frame in Internet explorer ive tried _top also cant figure out y its doing it in ie any suggestions? ok so i'm using a CMS and I have a page created a header, a left column, and a body I'm trying to have links in the left column display information in the body when clicked however since its a CMS the body doesn't have an actual html page? i've tried <a href="xxxxx.html" target="body">xxxxx</a> However it doesn't work I'm not sure how i'm supposed to be able to link to the body...is there a way that I can label the body? My teacher has given me an assignment that asks me to use target, but I guess he didn't know that target doesn't validate anymore. So my lab teacher told me to look into javascript for a replacement that does because they can and will screw me on their mistake. So I just need it to work on the standard a href=" " code. Hello all. I am making a page about logic gates. Anyway, I need to add a link target to the following code: Code: <center><h1 style="font-family: arial, serif; font-size:24pt; text-align:center; width: 250px; display:block; padding:5px; color:#000000; background-color:#1B3F8B; border: solid #000000 2px">The And Gate</h1> </center> This is bacause I have a pic of logic gates that I have image mapped and I want users to be able to click on a specific gate and be able to instantly jump to where that gate is on the page. I have came up with the following code to set a link target: Code: <a name="And"></a>|<font size="+2">And gate</font> The problem is that I am not sure where to place this code in the first code I posted. Can anybody help? Hi- Is there a way a frame target is screwed up? I have my frameset defined as <frameset rows="30, 83%" cols="1*" border="0"> <frame name="top" scrolling="no" marginwidth="10" marginheight="14" src="top.aspx"> <frameset rows="1*" cols="30%, 70%"> <frame name="left_target" scrolling="auto" marginwidth="10" marginheight="14" noresize src="left_meaning.aspx"> <frame name="right_target" scrolling="yes" marginwidth="10" marginheight="14" src="right_meaning.aspx"> </frameset> </frameset> and insde "right" frame, all <a> links have target to "left." But it load some external java script before so I assume that is where target is screwed up. But if i set hyperlink as follow: <A target="left_target" href="http://www.yahoo.com">aa</a> that the target set here should override whatever that comes before it, shouldn't it? Thanks for your help I am currently building a website which is to be used as an online gallery for a friend's artwork - To state the mundane, one of the recurring features is that when clicking on a thumbnail to open a picture it is displayed in a new window (target="_blank") - I was wondering if it was possible to reuse the window which is initially opened to display other images when requested from the original page, as opposed to having a load of new windows open on screen displaying different images? I have no ideas on this matter, other than perhaps a new window could be given an identifier which could be refered to from the original page at a later time - Can anyone help me here? I just searched the posts to see if anyone else has had this problem or concern, and no one had a real solution, so I just thought I'd post it again, incase the right person stumbles upon this and has the answer I need! Anyway... onto the question. I have an iframe on my site, and am using lightbox within that iframe, but want the lightbox to open up outside of the iframe... is there anyway that is possible? Thanks in advance! This is very basic but somehow won't work..i just need the form to target the iframe instead of a new window. <form> <table border="0" width="80" cellspacing="0"> <tr><td width="100%" bgcolor="#000000" style="height: 70px"> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr><td width="100%" background="images/boxtopA.png"><img border="0" src="images/11dot.gif" width="19" height="19"></td></tr> </table> <table border="0" cellspacing="0" cellpadding="3" style="width: 94%; height: 1px"> <tr><td width="2%" background="images/boxbackA.png" style="height: 28px"> <img border="0" src="images/11dot.gif" width="18" height="18"> </td><td width="98%" background="images/boxbackB.png" style="height: 28px"> <select class="combobox" name="SiteMap" onchange="if(options[selectedIndex].value){location = options[selectedIndex].value}" size="1" > <option selected>Select Date </option> <option value="http://donedealevents.myjalbum.net/Inaugural%205-12-2007" >5-12-2007</option><option value="http://donedealevents.myjalbum.net/Inaugural%205-19-2007" >5-19-2007</option> </select> </td></tr> </table></td></tr> </table> </form> <hr /> <br /> <iframe name="gallery" width="512" height="370" style="width: 817px; height: 771px"> Please use a browser that supports iframes </iframe> <br /> Thanks But it is working in Firefox, any clue why? Here are the two codes I am trying to link: Code: <?xml version="1.0" encoding="UTF-8"?> <!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> <title>Three Sons Auto Body</title> <script type="text/javascript" src="finalproject.js"></script> <link href="finalproject.css" rel="stylesheet" type="text/css" /> </head> <frameset rows="250,*" border="0"> <frame src="frame1.html" scrolling="no" noresize="noresize" name="memu" /> <frame src="home.html" scrolling="yes" noresize="noresize" name="frame" /> </frameset> </html> and Code: <?xml version="1.0" encoding="UTF-8"?> <!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>Three Sons Auto Body</title> <script type="text/javascript" src="javascript.js"></script> <script type="text/javascript" src="finalproject.js"></script> <link href="finalproject.css" rel="stylesheet" type="text/css"/> <base target="browser"/> </head> <!-- Your HTML tags and content should appear below this line. --> <body> <img class="banner" src="images/banner.gif" alt="banner"/><br/> <ul id="mainMenu"> <li><a href="#" onmouseover="menuOpen('menu1')" onmouseout="menuCloseTime()">Home</a> <div id="menu1" onmouseover="menuCancelCloseTime()" onmouseout="menuCloseTime()"> <a href="home.html" target="frame">Home</a> </div> </li> <li><a href="#" onmouseover="menuOpen('menu2')" onmouseout="menuCloseTime()">About Us</a> <div id="menu2" onmouseover="menuCancelCloseTime()" onmouseout="menuCloseTime()"> <a href="aboutus.html" target="frame">About Us</a> </div> </li> <li><a href="#" onmouseover="menuOpen('menu3')" onmouseout="menuCloseTime()">People</a> <div id="menu3" onmouseover="menuCancelCloseTime()" onmouseout="menuCloseTime()"> <a href="people.html" target="frame">Hierarchy of People</a> </div> </li> <li><a href="#" onmouseover="menuOpen('menu4')" onmouseout="menuCloseTime()">Accident Report</a> <div id="menu4" onmouseover="menuCancelCloseTime()" onmouseout="menuCloseTime()"> <a href="accidentform.html" target="frame">Accident Report Form</a> </div> </li> <li><a href="#" onmouseover="menuOpen('menu5')" onmouseout="menuCloseTime()">Sales Letter</a> <div id="menu5" onmouseover="menuCancelCloseTime()" onmouseout="menuCloseTime()"> <a href="salesletter.html" target="frame">Sales Letter</a> </div> </li> <li><a href="#" onmouseover="menuOpen('menu6')" onmouseout="menuCloseTime()">Contact Us</a> <div id="menu6" onmouseover="menuCancelCloseTime()" onmouseout="menuCloseTime()"> <a href="contactus.html" target="frame">Contact Us</a> </div> </li> <li><a href="#" onmouseover="menuOpen('menu7')" onmouseout="menuCloseTime()">WIN TICKETS!</a> <div id="menu7" onmouseover="menuCancelCloseTime()" onmouseout="menuCloseTime()"> <a href="finalslot.html" target="frame">Slot Machine</a> </div> </li> <li><a href="#" onmouseover="menuOpen('menu8')" onmouseout="menuCloseTime()">Accessories for Sale</a> <div id="menu8" onmouseover="menuCancelCloseTime()" onmouseout="menuCloseTime()"> <a href="finalsales.html" target="frame">Car Accessories for Sale!</a> </div> </li> <li><a href="#" onmouseover="menuOpen('menu9')" onmouseout="menuCloseTime()">Splash Page</a> <div id="menu9" onmouseover="menuCancelCloseTime()" onmouseout="menuCloseTime()"> <a href="finalproject.html" target="_top">Back to Splash Page</a> </div> </li> </ul> <div style="clear:both"></div> </body> </html> On my site, we have game reviews. Well, I just created a template system, and before I had it, I was using javascript to make a new mini pop-up window for our videos and screenshots. Example is he http://thegamehog.com/reviews/pc/str...and_conquer_3/ This worked fine at first, but now I wrote a template system in PHP and I cannot use the javascript anymore because it interferes with the things going on in the PHP. How can I (possibly) make a pop-up window without javascript or at least have the stuff open in a new window? I cannot use the target attribute because I'm trying not to have any markup errors and I am using a strict doctype. I know this is a common problem across many websites trying to go by the standards, but someone has to have an answer! I've been having trouble with targeting an iframe with a goto form. Let me show you what I've done. <form name="openlocation" target="PicFrame"> <input type="text" name="href" value="http://"> <input type="button" value="Go To" onClick="location.href=document.openlocation.href.value;; "> </form> <iframe name="PicFrame" src="blank.htm"></iframe> I'm trying to get allow the user to submit the url of a photo and then load that page into my iframe. So far the only thing it does is open up the url in the same window and does not target the iframe at all. Also I am using FF. Hi. I am making a java scipt code for my link's image to change on mouse over. Is there a way to detect if a user has Java instaled? (And if they dont, just be a link without the change) Thanks. |