HTML - Add Target Link To This 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? Similar TutorialsHi, I'm newly registered and seeking some assistance. I'm working on a website for a client and come across an issue. The following is my iFrame code: Code: <div id="iframez"> <iframe src="main.html" width="100%" height="400px" name="framez"></iframe> </div> I have a link that is at the bottom of the page that is supposed to load in the iFrame when clicked upon. The code is as follows: Code: <a href="somelink.html" target="framez">some link</a> What I want is when the link is clicked that it loads in the iframe (this works as intended) AND I want the page to scroll up to the iframe. I tried doing this without success: Code: <a href="somelink.html#iframez" target="framez">some link</a> This is interpreted as #iframez in somelink.html, and not the page its on. Is there any way around this? Thanks for your patience. Ok well I have an iframe on my site, I don't want to have to make several base pages to load different iframe pages from the address bar. So I would like to do something like, "sitename.net/index.html?specifictexthere" ( or whatever after the .html ) to be able to go to a different link with the iframe on that page. But also if its not one of the right specific texts then, it will just go to the normal iframe link thats set. Hello Everyone, I used to have this site where it had the power to on load redirection one site (If opened) to a certain one. For example; If I had google opened, and then i load my site on a different tab or window onl load of that page google would be changed to the site i put in that code. Now I have lost this code, I asked on another forum and they said something about putting target in my code. This did not work either. Atleast what I tried. Does anybody know this code or have a suggestion for me? -Troy Hey. I have a frame and inside it there is a link. I want it to target an anchor called Code: <a name="anchor"></a> that is INSIDE it's own frame. I tried Code: <a href="#anchor"> but it tries to reload the entire page, and doesn't just "jump" to the anchor like it normally would. How do I do this? Thanks Hi, This question has been vexing me from quite some time now. When one links to the resources outside his/her website should the target="_blank" attribute be used for the <a> tag? Normally I use target="_blank" for anything that is outside my website. But this question bothers me even more when I am creating a list of resources. Since, while viewing these lists user will be more interested in the resources than my website. Recently I came across the following opinion a lot times: If the user wants to come back to your site he has the back button and also he can use the "Open in new window" option if he wants the linked resource to open in new window. Please share your thoughts about this point. Thank You. 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. Hello again I need to open a page of text from a text link as its too much on one page What is the code please to do it and I gues I have to find the page address too and upload the page with ftp? Thanks Hey guys, completely new here just learning how to do basic html. I'm excited, just hope I don't get lose that as I get futher into it. Anyhow does anyone know what I can remove from this embeded link for a video I uploaded. I uploaded using Yahoo Video, seems to be no limits on time and the quality seem decent enough. I was able to remove a few things that Yahoo put, but I would really like to disable the "I" (info button) and the email button if possible, and the "Big Y" at the top right corner. There was a issue, that when you maxed the video, then hit escape to go back, it would restart the video, and take you to yahoo and replay it. That was not good, I'm glad I found the option to disable the max video. Anyhow here is the code, thank you: <div><object width="512" height="322"><param name="movie" /><param name="allowFullScreen" value="true" /><param name="AllowScriptAccess" VALUE="always" /><param name="bgcolor" value="#000000" /><param name="flashVars" /><embed src="http://d.yimg.com/static.video.yahoo.com/yep/YV_YEP.swf?ver=2.2.46" type="application/x-shockwave-flash" width="512" height="322" allowFullScreen="false" AllowScriptAccess="always" bgcolor="#000000" flashVars="id=19390192&vid=7411290&lang=en-us&intl=us&thumbUrl=http%3A//l.yimg.com/a/p/i/bcst/videosearch/14468/106621986.jpeg&embed=1" > what's the HTML code to download a pdf from a link. please help i really need this code for my website.. Hello HTML experts, I am new in this forum. I have a problem here please help me. I have a large number of links for navigation menu I don't want to instert these links in every pages again and again. I want to keep these links in one page but I am anable to link this page (HTML Code) in other pages. I am not interested in frames. Is there any other way, if yes then please help me. Rajpal Singh I'm quite new to programming and I could use some help. What is the rough html code to setting up a link to an amazon product with just a price link. So all they see is the price and that links to the actual product on amazon. If you could show an example I would really appreciate it. Thanks everyone. I want to have a section on our website called 'link to us' , (or similar). What is the best way to provide people that want to link to our site with the code that allows them to do so? Hello, I am looking for a piece of HTML that would stop the scrollbar from automatically resetting to the top of the page once the link has been clicked and the new page is visible, as the website i am currently building is a portfolio container of sorts, and I have a load of images that I wish to appear to be on the same web page but when the "next" button is clicked it is merely taking the viewer to an entirely new page built of identical code but for the different image content. I want the scrollbar to stay at the bottom of the screen (I have a page that is 1063px high with the images at the bottom) once links have been clicked on, and I would be very grateful if somebody in the know has the time to reply. here's the as-yet unfinished web page. http://www.alexhaines.co.uk/footprints.html - click the links to the different housing projects (currently only the brevoort button works :-/ ) to see what I'm talking about specifically with the scrollbar defaulting back to the top. Many sincere thanks in advance, Alex Hello, I am needing help finding out how to remove a link in my HTML slideshow code. I made the slideshow for this website using slide.com and want to remove the link behind it that directs you to their site! The slideshow is fine but when you click on it, it directs you to "Their Site", I don't want that. I was wondering if the code was embedded, please help! Here is the code: <p style='visibility:visible;'><object type='application/x-shockwave-flash' data='http://widget-a3.slide.com/widgets/slideticker.swf' height='200' width='250' style='width:250px;height:200px'><param name='movie' value='http://widget-a3.slide.com/widgets/slideticker.swf' /><param name='quality' value='high' /><param name='scale' value='noscale' /><param name='salign' value='l' /><param name='wmode' value='transparent'/> <param name='flashvars' value='cy=ms&il=1&channel=2666130979436416163&site=widget-a3.slide.com'/></object><p style='white-space:nowrap'><a href Hi... I am doing online streaming webpage...so, i gave the coding like this <TD vAlign=top><TD width="100%"> <P align=center> <EMBED name=mediaplayer1 pluginspage=http://www.microsoft.com/Windows/MediaPlayer/ align=center src=mms://wma1.viastreaming.net/cricket width=488 height=370 type=application/x-mplayer2 controller="true" loop="0" transparentstart="1" autostart="true" EnableContextMenu="false" showstatusbar="1"></P></TD> but, in most cases, visiters can get the mms://wma1.viastreaming.net/cricket l, go for the link inside the site's source code. so, please could you tell me how do i hide that mms protocol link in to my sourse code. thanks I want to send an email from an aweber list that includes a link for the user to download a file from my website. However, I don't want users to know the actual address(directory) where my file exists on the server). Right now when the user clicks on the link it automatically takes them to the address where the file exists and opens the file in a web page. How can I code the link so when the user clicks on the link it will automatically open a dialog box for them to save the file to their pc? 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 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. |