HTML - Anchor Within Object Tag?
Similar TutorialsI heard that some objects can not go inside an anchor. Can anyone tell me what they are? Thanks alot , Lukus. Hello, I am wondering if something is possible.. and if it is, how I would go about accomplishing the desired result.. This is a sample page to illustrate the problem http://comp.uark.edu/~bcagnin/test/index.html Is there a way to resize the object from a link that is within the website being displayed in that very same object?? Also, I am willing to use iframe if there is a solution that can be found with that... Thanks!! Tyrick Is there anyway to do a sort of "go to next anchor" link? ... and previous anchor? I am using another persons code for our band's MySpace.( With some of my own) I am trying to display the shows section and the music player. When i insert the shows section the music player always displays behind the shows section. It is displaying the music player within the limits of the shows section. How do i make the music player seperate? Here is the code for the entire site with the music and show sections bolded. Code: <i class=i>!--START CODE IN BAND MEMBERS --!</i> <i class=i> !-Start Div Overlay Content Block-! <a href="http://www.msplinks.com/MDFodHRwOi8vdmlld3MtdW5kZXItY29uc3RydWN0aW9uLmJsb2dzcG90LmNvbS8="> myspace code tutorials by Eileen</a> !-Close 3 layers of cell/row/table. This puts our Div ONE table deep. </i> </td></tr></table> </td></tr></table> </td></tr></table> <i class=i>!-Create and size our div. We will never close this div. It will close when the containing table closes-! </i> <i class=i>!!! MODIFY width to the SAME width as your core image !!!</i> <div class="myCoreDiv" style="position:relative; top:0px; width:799px; height:auto; border:2px green solid;"> <i class=i> when DONE editing CHANGE the border:2px to border:0px or change the magenta to the color you want your border.----!</i> <i class=i> !----START CUSTOM CONTENT BLOCK 1----!</i> <img src=http://i42.tinypic.com/16iz2j5.jpg> <img class="grid" src="http://i11.tinypic.com/4pczehk.gif" style="position:absolute; top:0px; left:0px;"> <span class="off">!-START COMMENT FORM-!</span> <div class="myCommentFormD"> <form method="post" action="http://comments.myspace.com/index.cfm?fuseaction=user.ConfirmComment"> <input name="friendID" value="445328869" type="hidden"/> <textarea name="f_comments" class="myFormBox"></textarea> <center> <input type="submit" value="Post Comment" class="myPostCommentButton"/> <input type="reset" value="Clear" class="myClearButton"/> </center> </form> </div> <span class="off">!-END COMMENT FORM-!</span> <i class=i> !----END CUSTOM CONTENT BLOCK 1----!</i> <i class=i>!-Open 3 layers of table/row/cell-!</i> <i class=i>!-IF do NOT want any content from my Right side, I can use i instead of L1-!</i> <table class="L1" ><tr><td> <i class=i>!-The below class i hides the remainder of the general table-!</i> <table class="i"><tr><td> <table class="i"><tr><td> <style>.i {display:none}</style> <i class=i>END CODE IN BAND MEMBERS</i> <i class=i>!START code in Influences !</i> <i class=i>!START Style Block For Hiding Elements on Band Page! <a href="http://www.msplinks.com/MDFodHRwOi8veGlpaS51cy9tcy9iYW5kLWhpZGUtYWxs">MySpace Band Hide Everything</a> </i> <style> .i, div.clearfix i i i {display:none} {! fix a centering problem, and clear white space caused by clear gifs !} td {width:auto;} table td img {display:none;} {! restore any images displayed inside our div. You may want to use block instead of inline for some images. !} table td div.myCoreDiv img, table td div.myCoreDiv table td img, table td div.myCoreDiv div img {display:inline;} {!OPTIONAL restore image on maroon nav bar, we could use a.navbar img!} div table td a.navbar img {display:block;} {! removes most content and the space it occupied !} table table table {display:none} {! minimize the remaining main page content that can not be removed without effecting the ad and menus !} table table td { height:0px; margin:0px; padding:0px;} {! restore my div. !} table div.myCoreDiv {display:block;} {! restore div with Comments !} table div.myCoreDiv div.myDclassFC {display:block;} table div.myCoreDiv div {display:block;} table table br {display:none;} table table table br {display:block;} {! OPTIONAL decrease space between bottom and bottom menu, and between bottom menu and cc thing !} {! does not work in Safari !} table div br {line-height:4px;} {! reverse effect on custom div !} table div.myCoreDiv br {line-height:11px;} {! remove default background coloring !} table table, tr, td {background-color:transparent !important} {! ONLY if you want to remove the blue behind the ad banner AND the maroon !} div.profileWidth table, div.profileWidth td {background-color:transparent !important} div table {border-bottom:none !important;} {! ADDITIONAL STYLE BLOCKS CAN GO HERE !} <style> {!- shows -!} table table td.text div {position:absolute; width:440px; height:130px; overflow:scroll; overflow-x:hidden; top:30px; left:415px;} {!- UnDo effect on Div in Friend and Comment spaces -!} table table td.text table div {position:static; height:auto; overflow:hidden} table table td.text div.commentlinks {display:none;} table table td.text div table {display:block} {!-fix column width of shows-!} {!-set below px width to the width of your shows space-!} table table td.text div table td, table table td.text div table {width:425px;} table table td.text div table table {width:100% !important} {!-adjust below value as needed-!} table table td.text div table table table {width:40% !important} </style> <style> {!-music player-!} table table td.text div object {position:absolute !important; top:196px !important; left:100px} table table td.text div object object {position:static !important;} </style> I'm creating an alphabetical search of products. I have a table with the letters of the alphabet and just below that table I have a scroll box with the list of products. Each section of this list of product has an anchor that is called by the letter in the table. When the letter is clicked the scroll box scrolls to show the products with names starting with that letter. What I did so far is working. The problem is that the whole page of the website is moving up when I click a letter and not just the scroll box. How do I do to make just the scroll box to scroll? Right this is not for the faint-hearted cos I'm going to make a real hash of explaining what I'm trying to do probably I'm using <a> tags to move the user around a single page, so for example: HTML Code: <a href="#room1">Room1</a> <a href="#room2">Room2</a> <a href="#room3">Room3</a> <a href="#room4">Room4</a> <div id="room1"> Some Content </div> <div id="room2"> Some Content </div> <div id="room3"> Some Content </div> <div id="room4"> Some Content </div> It works fine, but the browser places the viewing window right at the very start of the <div id=""> bit. I want to have it move to say 50px higher up. I can't move the <div> tags or set any margin or padding on them as this really messes up the page. Is there any way to move the browser window 50px back up after it has moved to the <div> position. Maybe using javascript? Any help really appreciated Using help from (http://www.echoecho.com/htmllinks08.htm) I added links to my page (http://laititudefestival.zxq.net/whosplaying.html) When clicked on the title 'Lake Stage' it should redirect you to the line up image lower down in the page. The link (http://laititudefestival.zxq.net/whosplaying.html#lake) appears in the address bar . It should move the page down but it dosent Please help Just give me one working example I would be very happy I could change text and so on ! Thanks , Sorry for English Hi everybody, im new here. i've done lot of search and nothing solved my problem. here is my situation. I have 2 pages, in the first page i want to make a link to the second page but at a specific point in the second page. Here is my code: in the first page, i make this link: <a href="page2.html#70" class="Style1">linktopage2 (1)</a> in the second page at the point i want to link: <a name="70"></a> Did i forget something? right now when i click the link in the first page, it open the second but at the top of it and not at the point i want. someone have a better way to do what i want? thank you all!! mike How do I make an H1 heading (example: <h1>Business to Business</h1>) into a link that will jump to an anchor lower on the page? What is the code for this? HELP! Any help would be much appreciated Karen so i have these 3 files, frame.html, menu.html, and page.html frame.html sets up the frameset with menu.html on the left side and page.html on the right side. the page is very large and scrolls and has a bunch of named anchors in it, and the menu doesn't scroll so its always visible no matter where on the page you are. so u probably get the idea by now. normally if i want to have an anchor link in the page i would just say href="#anchorname", but instead i want to have links in the menu frame jump to anchors in the page frame, so that someone could browse the page very easily without having to scroll all the way back to the top for all the anchor links. is that possible, and how would i do it? Hey guys, I'm really new to HTML coding so be nice. I'm trying create an anchor on a new page. Is this possible, I can create an anchor that jumps down a page, but I can't get it to work on a different page. I thought I had it, but it only worked in Safari, and wouldn't work in Firefox or IE. Any help would be greatly appreciated Hi all, I'm trying to embed a flash file on my page that will act as a link to another page (please see code below). However, for some reason it's not working. Can someone please tell me what I'm doing wrong or point me towards some documentation? <div class="promowrapper"> <a href="http://promos.kansan.com/summersplash"><embed width="955" height="60" src="http://media.kansan.com/static/images/SummerSplash.swf" /></a> </div> Thanks, Kansan I would like to show some details in table format inside the anchor link, is this possible or not... Hello, I have a webpage with several html anchors. The anchor part works ok, but when I click on the links, I only goto to the part of the page with all the anchors (all anchors are gathered low in the page) and I wanted to know if there is any way of highlighting the specific anchor that the user has clicked on. Thank you. hi, i'm quite new at the whole html stuff but excited about it. i'm making up a testnewsletter in html, and with the 'read more' function i would like to put up a link to an external anchor on the homepage. This way the reader jumps to the right location on the news menu on my homepage. I tried but it doesn't seem to work: in the html on my homepage i place: <a name="location1"></a> in the html in my newsletter: <a href= http://www.ecopuur.be/index.php?option=com_content&task=view&id=21&Itemid=40/#location1> something must not be quite right. thanks for advice Hi everybody.A few days ago I started learning HTML.(So ,i am a noob.)When I read about destination anchors,instantly I put one in my test page.But there is a problem. Here's the code HTML Code: <! DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html/> <head> <title>Bizone Webdesign</title> <meta http-equiv="Content-type" content="text/html" charset="windows-1250"> <meta name="keywords" content="bizonethemighty, web, design"> <meta name="description" content="Aceasta pagina ofera informatii despre studio-ul BizoneWebDesign"> </head> <body bgcolor="white" background="bkg.jpg" text="333333" link="333333" alink="ff6600" vlink="ff6600" > <DIV align="center"> <H1><a name="sus">webDesign studio <Q lang="en">Bizone</Q></a></H1> <H2>Test page</H2> </DIV> <p>Studio <ABBR title="Desing in domeniul Web">webDesign</ABBR> are o echipa de <STRONG>profesionisti</STRONG>,gata sa va satisfaca cerintele in domeniu.La fel cum H<sub>2</sub>O este prezenta oriunde pe planeta,iar ecuatii simple ca x<sup>2</sup>+y<sup>2</sup>=0 caracterizeaza algebra,la fel calitatea proiectelor noastre este evidenta si le caracterizeaza.</P> <P>Propunem o gama <EM>larga</EM> de <a href="portofoliu.html">proiecte</a>,realizate la cel mai inalt nivel</P> <PRE align="center"> Orase in care avem oficii: </PRE> <DIV title="Locatia orasului pe harta"> <PRE align="center"> <a target="_blank" href="http://maps.google.com/maps?oe=UTF-8&gfns=1&q=chisinau&um=1&ie=UTF-8&hq=&hnear=Chisinau,+Moldova&ei=MsdOTLGkC5-VOP-P-OMC&sa=X&oi=geocode_result&ct=title&resnum=1&ved=0CCIQ8gEwAA">Chisinau</a> <a target="_blank" href="http://maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&q=balti&sll=47.216667,29.166667&sspn=0.165801,0.308647&ie=UTF8&hq=&hnear=Balti,+Moldova&z=12">Balti</a> <a target="_blank" href="http://maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&q=edinet&sll=47.026859,28.841551&sspn=0.332785,0.617294&ie=UTF8&hq=&hnear=Edinet,+Moldova&z=12">Edinet</a> <a target="_blank" href="http://maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&q=Cimi%C5%9Flia,+Moldova&sll=47.75494,27.913&sspn=0.16411,0.308647&ie=UTF8&hq=&hnear=Cimi%C5%9Flia,+Moldova&z=11">Cimislia</a> <a target="_blank" href="http://maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&q=causeni&sll=48.166667,27.316667&sspn=0.162807,0.308647&ie=UTF8&hq=&hnear=Causeni,+Moldova&z=12">Causeni</a> <a target="_blank" href="http://maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&q=Straseni,+Moldova&sll=46.516667,28.783333&sspn=0.335953,0.617294&ie=UTF8&hq=&hnear=Straseni,+Moldova&z=12">Straseni</a> <a target="_blank" href="http://maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&q=Criuleni,+Moldova&sll=46.6418,29.40942&sspn=0.16759,0.308647&ie=UTF8&hq=&hnear=Criuleni,+Moldova&z=12">Criuleni</a> <a target="_blank" href="http://maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&q=Soroca,+Moldova&sll=47.14204,28.61837&sspn=0.166034,0.308647&ie=UTF8&hq=&hnear=Soroca,+Moldova&z=12">Soroca</a> </DIV> </PRE> Logo-ul Studio-ului nostru:<IMG src="images/blazon_small.jpg /><BR> <a href="index.html#sus">Inceputul</a> </body> </html> The problem is that the last image HTML Code: <IMG src="images/blazon_small.jpg /> won't work until I remove the destination anchor HTML Code: <a href="index.html#sus">Inceputul</a> which doesn't work too if there is the img tag too. Please,tell me,what's the problem?These things can't work together?Please help! I am creating an FBML page in Facebook and can not figure out how to do an anchor point in the page - mostly because instructions online only tell you how to do it and show snippets of code, not the entire portion, so I can't tell where to put the two different parts of the code (a name & a href with #). This is the code I have: <a name="Current Projects" id="Current Projects"> <a href="http://www.facebook.com/familysearchwiki#currentprojects"><strong>Current Projects</strong></a></a><p> I want it to link to the "Current Projects" section of the document. I do not know how to set this up. Seems like it should be easy... I know it is, right? I have some anchor tags in my user control ...now when i use tab key from key board and navigate to this anchor and press enter it opens a new window and after i am done with this new window (let's say i close it)and again press tab key the focus is moving out to another element in the control but not back to the same anchor. Instead of key board if i use mouse click and then press tab key the focus is coming back to the same anchor. How can i set the focus back on to the same anchor while i use key board tab. Hi im getting reports of a strange problem occuring on a link to an email address when some users click the link below and the defailt email client is opened the email is appearing with capitals and then when sent, does not apppear in the inbox. surely theere is no way to do this besides javacript or the below? HTML Code: <p><a href="mailto:bookings@hjkjjhgkj">bookings@hjkjhkhjkhjk</a></p> </div> </div> does the problem lie with the the eamil cinent? |