HTML - Links In Xsl
This is a line of code in my XSL file. It is supposed to generate a link and the link text is the same as the URL.
Code: <a href="<xsl:value-of select="." />"><xsl:value-of select="." /></a> It generates this error: Code: XML Parsing Error: not well-formed Location: http://levichi.com/portfolio/portfolio.xsl Line Number 35, Column 16: If I remove the "a href" code, my XML file is displayed well, so it must have something to do with the link code. I suspect it has something to do with nested quotes? Similar TutorialsHi everyone, I hope I have posted this in the right area. This is my first time posting here. I currently have my main pages listed at the top of my site as graphics (see fussybaby.ca). I would like to potentially remove these graphics and use text links instead - I had the graphics designed for me, so I can't just go in and make new ones, however I'd like to change/rearrange the links and add some new ones. So my question is: How hard is this to do? Is this something I need to hire someone to do for me? Thanks in advance for any advice! The problem with having only a nominal knowledge is that everything you want to do ends up taking hours because you can't figure out what it's called so you don't know how to search for it! I'm trying to have a left sidebar where when you hover over it, a new menu of links appears. Here are a few examples of what I'm looking for: Amazon. When you hover over the books or other links to the right, it gives you more options: http://www.amazon.com/ PBS. If you hover over Episodes it gives you more options. I want a left justified thing, but it's the same idea, I think: http://www.pbs.org/wnet/nature/episo...oduction/3153/ Or even something as simple as this. Hover over "Club Events." http://www.springfieldkennelclub.org/ Thanks! Hi, I'm new at this and was wondering if anyone could help me with the Html syntax so that when i click on <a href> link instead of going to a new page it simply either drops down or pops out with a number of other links which actually bring you to pages?? Something like the main link it "options" and the sub link are "sounds" and "view". Thanks for your help!!!! Okay im trying to get a website started and here the problem my pages are not linking. here are the links i have. Code: <li><a class="current" href="http://jailbreakmyiphone.design-is.co.uk" title="home"><span>HOME</span></a></li> <li><a href="http://jailbreakmyiphone.design-is.co.uk/news" title="news"><span>NEWS</span></a></li> <li><a href="http://jailbreakmyiphone.design-is.co.uk/tutorials" title="tutorials"><span>TUTORIALS</span></a></li> <li><a href="http://jailbreakmyiphone.design-is.co.uk/downloads" title="downloads"><span>DOWNLOADS</span></a></li> <li><a href="http://jailbreakmyiphone.design-is.co.uk/repos" title="repos"><span>REPO'S</span></a></li> <li><a href="http://jailbreakmyiphone.design-is.co.uk/ads" title="ads"><span>APPLE AD'S</span></a></li> <li><a href="http://jailbreakmyiphone.design-is.co.uk/contact" title="contact"><span>CONTACT</span></a></li> here a screen shot of the server and my files Also my site address is http://jailbreakmyiphone.design-is.co.uk/ thanks in advace walous Hey guys, my links are taking me away from my site. How can I make them open up into new windows instead? Any suggestions appreciated. cyclepete Hey guys wats up i'm having a little trouble with links. i have some css code with the links so that they have a border on top and bottom and stuff. i have two links at the moment as i'm trying to figure this out. on to explanation lol anyways the two links are right beside each other and i want them to be but they look like one word. i'm trying to find a way to separate them into two words. here is my code: CSS: Code: #Nav{ float: left; width: 948px; height: 18px; border-top: 1px solid #FFA701; border-right: 1px solid #000; border-left: 1px solid #000; border-bottom: 1px solid #FFA701; } #Nav a{ float: left; padding: 0; margin: 0; height: 18px; color: #fff; text-transform:uppercase; text-decoration: none; font-weight: bold; overflow: hidden; } HTML: HTML Code: <html> <link href="code.css" type="text/css" rel="stylesheet"> <body bgcolor="#000"> <div id="Nav"> (a href="#" class="">Home</a> (a href="#" class="">TEST</a> </div> </body> </html> ok in the html change the ( brackets to [ because otherwise it'd prob act like a link on the forum thx in advance Can someone look at this page for me and tell me why some of my links change color after being visited but not all of them i am stumped. http://site.sunaviationinc.com/NOVEMBER I was wondering how to do 2 link's in 1, Like where you can click a link, and a little slide bar will popout and show a preview of a page, but if you open it in a new tab. it will actually go to that page instead of opening a preview of the page. Basically 2 different link's, Does anyone know how to do this? (an example of this is on facebook, on the right side of the page where your "online friends" are. if you click there name, an instant message box pops up at the bottom, but if you right click there name and open in a new tab it goes to there profile instead of opening the Istant message box. I am building a Website for my Web Design class in school. I am using Dreamweaver CS4 at home. What the problem is that I have linked my Myspace, my Youtube, and my Twitter on the site I am making. When I test out the links on the web what happens is that it uses the Web address I am at and the Web address I clicked and adds it together. For Example, Lets say I have linked my myspace on my youtube. It would look like this, www.youtube.com/www.myspace.com. Why does it do this. Anything helps. Thank you. does anyone know how to have a link within XSL files? I tried to use <link>, but it doesn't work. here is a sample of my tempalte. I want to be able to have "you have already registered" to be clickable to a link. Is this possible? I've even tried html a href, but no luck. Quote: <xsl:template match="already_reg"> <h2>Submission Sucessful</h2> <p>You have already registered.</p> </xsl:template> I am trying to understand how links work in regards to going from one URL {A} to Another {B} that contains a 'saved' username and password in Fire Fox. If I go to {B} using the bookmarks on Fire Fox, then the saved username and password are shown and all I have to do is click on login. Works nice. If I go to {B} using a link within a Blog then the saved username and password are NOT shown and I have to re-enter them to login. A royal pain. I would like to create a link in the Blog so that when it goes to {B} the saved username and password are shown. Question: Why does the saved user name and password disappear ? How can it be corrected? Thank you for any help in understanding this. Nevyn does anyone know how to create a link that brings you down to a lower part of the page? Hi, I want to insert a link to hyperlink "consolidating a loan" to the following web address www.debtconsolidationcare.com on my website. My website is http://www.intelligentstudentfinance.com/ and need the link on the orange section where it says Sponsored Links in blue. I have uploaded the files zipped so they can be opened in dreamweaver. The file that you need is index.html. Thanks for the help how to links one frame text to other frame Man IE is all screwed up. Mine site is perfect in FF I wish IE would follow the lead on IE standards but that is another day. Anyways, I have some text on my index page that is suppose to link to this page http://www.mesquitechristmas.com/blog/index.php Anyways in IE when you click on it it brings up a blank white page but the URL is in the address bar. Like I said though in FF it works fine. I have not tried this with IE 7 I have been testing things with 6 then will upgrade back to 7 unless someone knows how I can run both? Does anyone know why this might be happening? -Thanks Hi All, A client has asked me to create a drop-down list that will jump to bookmarks WITHIN THE PAGE - does anyone know how to do this? All that I can find online are tutorials with scripts for re-directing to other pages, but this does not need to be that dynamic. My guess is that this will require something along the lines of: Code: <select> <option value="#services">Services</option> <option value="#products">Products</option> </select> Where each option points to a link within the page. This being the case, there should not need to be a submit button either - anyone know how to achieve this? 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 Hello all, I am working on a blog roll or links sidebar for my site. If you go to QuickCache you will find that all of my links forward to http://www.quickcache.org/http://linkedsite.com I want it to go to http://linkedsite.com. You can view my code here using the password "help" Could you tell me how to fix this, and what i am doing wrong? Thank you very much, Mbf123 Update: Sorry for the links in this post, they were meant to be examples for a site that I could link to. Is there a way to make an image or image map link to 2 different places when clicked? Thanks in advance Site: http://therivals.summerhost.info Relevant Pages/Files: index.shtml nav.shtml style.css Problem(s): On the side navigation bar, hovering over the 'links' doesn't do anything (even though the stylesheet is supposed to change the background colour/font colour. Clicking also does nothing. I've run both homepage and stylesheet through the W3C Validator and the only errors it comes up with are to do with the ad my host automatically puts at the bottom of each page and CSS3. Interestingly, you cannot highlight anything on the page except that ad. If it's relevant, I've used SSIs to add the code for the navigation bar onto each page. I've tested the site in IE8, Firefox 3.6.19 and Chrome 8.0.552.224. It only works in IE (). It also works when opening the files offline in all the browsers and when using XAMPP. I have absolutely no idea what's gone and would appreciate any helpful input . |