HTML - Random Imgage With Link Script Wanted/help
On my main page www.virtualhunterston.eu.org I have 3 images under the featured image section.
I can quite easily find a script that will allow me to randomize the image, but I cannot find a script that will allow the image to be random and also have words below. Example. On the link above I have Castle Gate as a featured Image. How can I have it as random image and it changes the name below it as well? say i was to have Avenue Gate I would want the image for that gate but also to say Avenue gate below it. Hope that made sense?, and that anyone can advise. Similar TutorialsPlease post .php banner rotation script to easy paste into website footer to handle ten or so banners thanks Urgent on the mainpage of my site, i have a enter button, however I have 4 different sites. I want when you click enter, it brings you to 1 of the 4 at random each time... how would i go about that? thanksss. its much appreciated to whoever trys or can help. I tried using the search function, but I don't know if it's my browser or what but it won't finish loading the results page. Is there a way in HTML, to create a link that can go to two possible pages, but when you click it, it randomly goes to either one? Thanks, Jon Hello everyone! First post on the forum, and wow, I spelled my username wrong Anyway, I am working on a new project, a rather adventurous and something out of my comfort zone one at that The website I am working on can be seen currently at it's development address - http://test.tinyentertainment.biz (Please note that most links, buttons, etc. do not work or are dead as it is of course, a development in it's early stages.) Anyway, my question is, is there a script or something else that would allow me to enter in a number of divs', and every time the page is reloaded, it will choose a random, or systematic, one to display? What I want to do, is if you notice on the home page of the website linked to above, below the large text under the flash banner, there is a quote- " "You're so afraid of taking chances, how you gonna reach the top?" -Greyson M. Chance" " I would like to have a number of different quotes to be displayed there when the page is reloaded. The current code is- Code: <div class="row"> <h3 class="center">We are a <span>fan community</span> dedicated to supporting <span>Greyson Chance</span> and his career.<b /> Don't forget to visit the <span><a href="http://www.thegreysonchanceforum.com" target="_blank" title="Visit The Forum - The Greyson Chance Forum" onMouseOver="window.status='Visit The Forum - The Greyson Chance Forum'; return true" onMouseOut="window.status=' '">forum</a></span> to chat with other fans.</h3> <p class="center"><em>"You're so afraid of taking <span>chances</span>, how you gonna reach the top?" -Greyson M. Chance</em></p> Thank you! Hey all, I need some help with the lay-out of a site I'm making. I have 3 images: left.jpg fill.jpg right.jpg I need to make a website that fills the entire width of the screen. left.jpg always needs to stay on the left side of the screen. right.jpg always needs to stay on the right side of the screen (regardless of screen width). and fill.jpg is a 1 pixel wide image that should either stretch between them or repeat itself to fill the space between the other two images. So when the user resizes the window the right image stays right and the middle image adjusts to fill the entire space between left.jpg and right.jpg. I've tried a lot so far using tables and divs but non have worked for me so far. Could someone provide me with a working example? Thanks in advance Hello everyone. Our studio engage in home webcam Yahoo Messenger show. We are looking for webmaster, who can make small site for transmitting this show. We have only 3 girls. Hello guys, First, I am glad to be a member of this forum.Can I have links to good HTML e-books? Books in pdf format shall be appreciable. Thank you very much, Regards, Kishore I am going to do my first website, and I need headings at the top of the page with , Home, Products, Services and Contact headings at the top but I need them to be inside a rectangular tab with round edges. So I need help in information on whether I have to format or style the headings with css eg. h1.one font-family etc etc. and then on the header <h1 class="one"> etc etc. I might be wrong but is there way I can get the headers I want to be round edged? I am new to html so my answer might have been totally wrong just using my own assumptions. Thanks for help and if someone has ideas for other type of header styles I could use I will appreciate the info. Ok, I'm in the process of creating a file explorer using 2 cgi scripts and one html file. The html file creates 2 frames, and calls 1 of the cgi scripts in each frame. The cgi scripts are written in python and html code. What I want I need to do is be able to click on a directory in the left frame and it opens it up in the right frame, while also opening the directory up in the left frame. Now link is dynamic seing as there are several directories. So I want to make it so that when I click on the directory link, it opens two links, modifying both frames. So I tried adding this underlined code in my code in the script that is called in the left frame: frame2 is the name of the second frame. #!/usr/bin/python print "Content-type: text/html\n\n" import re,os,sys def arbre(repertoire): liste=os.listdir(repertoire) print "<html>" +str(sys.argv[1])+ "<html>" for fichier in liste: if os.path.isdir(repertoire+"/"+fichier): print "<html>" "<div style='position:relative; top:15; width:500; height:20;'>" "<a href='http://localhost/cgi-bin/liste.cgi?"+str(sys.argv[1])+"/"+str(fichier)+"' onClick='parent.frame2.location.href='http://localhost/cgi-bin/contenu.cgi?"+str(sys.argv[1])+"/"+str(fichier)+"'>" "<img src='http://localhost/apache2-default/repertoire.gif' width='25' height='25' alt='blarr' align=left border=no>" "</img>" "</a>" "<h5>" ,fichier, "</h5>" "</div>" "</html>" arbre(sys.argv[1]) This does not work, the left frame(frame1) works the same, but the second frame is not modified, help please? This might you give you a better idea of what I'm talking about: I need help with a table and tr... I have 3 rows in a table. The first 2 contain the same td(s) - 4 of them. I'd like to have a 3rd row that contains 9 td elements visible. How can I accomplish that? Is it possible to make the third rows td elements independent of the first one (since it follows the layout of the first rows td lengths)? Hello All, I am searching for a solution for a friend of mine. He has a new website, that runs perfectly in Firefox, and Chrome, however not in Internet Explorer. He runs IE6 in XP. Yes, i konw, IE6. The issue is that there is a program that will ONLY run in IE6. Upgrade IE, and it will not work. There is no option here. So what I am trying to find is some sort of coding that in Firefox / Chrome, that when that coding is reached (could be a plain .html or .php document) that ie6 will then open up for that page to be viewed. This will enable my friend, to use their new website in either firefox or chrome, however when that program is required, and they click on the link in firefox or chrome, then ie6 will open up and off they go. Any ideas? Chris. I want the maximize square to work with a new window pop-up but it is not. I been trying all sorts of options without luck. The minimize button works the close but not the maximize square. Is there any way this button can work? I am openning the new with "_self" option. This is by code now. javascript:window.open('http://www.tstonebeta.org/staff.html','','maximize,width=600,height=600,scrollbars=1,resizeable=1,status=1,toolbar=yes');void( 0) Thanks for any suggestions. Russ All the books I've seen are targeted at either newbies, experienced, or expert users. All I want is a reference that shows all the tags and all the formatting options. For example: Table <table></table> Table options <table style class height width border colspacing padding> Table row <tr></tr> Table row options <tr ..... > Table data <td></td> Table data options <td ..... > See? For every avaliable tag. I just need a reference, not code, nor how to's. Just a reference to the tags and parms they can take. If you know of a book title that covers this, please indicate. Thanks! Hi everybody! I'm new to the community, and I need a little help. ^.^ General Version: I am making a form and I want the submit button the be grayed out until you tick the "I agree to the ToS" Checkbox, but I also want to make sure that it turns grayed out again once you un-check it again. My Specific Version: Here is my site I will use it for: http://www.projectflyffinnovation.com/php. Currently I am using some Javascript to make the link un-gray it, but I want to remove the link and make the checkbox above it do what the link does, and will uncheck it when deselected If you want the source I am using, just go to the site and click view source. I would really appreciate some help! Thanks in advance! 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. Ive been working on a website in my free time, and I have been wondering if it's possible to hover over a link, and change the text color of another link. A picture of one of my web pages is shown in the link below. http://i223.photobucket.com/albums/d...screenshot.jpg I want to be able to hover over something from the side navigation bars and have various links in the bottom naviational bar change color. So like hovering over Blood Elf, would make Death Knight, Mage, Paladin, Warlock, Priest, Rogue, Hunter turn red Does anyone know how to do this? or even know if it is possible? Hi, 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. Hi im not sure if this can be done i have created some buttons to use as links and once i put the a href code in a box appears around the button can i remove this and how plz you can see example of what i mean on my website i have made Home and Contact clickable but i want to remove the box thats around the button if possible http://dreamteam0708.co.uk/ for info: im coding my own html in notepad, not using any programs or anything and my hosting doesnt support php etc I have this code below, and i would like it to randomly place 2 X's in any of the boxes, and each time i refresh the page the X's could end up in any of them, any idea how to do it? Thanks Dr Ben HTML Code: <html> <head><title></title></head> <body> <form name="placeships" action="board.php" method="post"> <table> <tr> <td align="center" bgcolor="black"><input type="text" id="1" class="hide" name="1" value="" size="2"> </td> <td align="center" bgcolor="black"><input type="text" id="2" class="hide" name="2" value="" size="2"> </td> <td align="center" bgcolor="black"><input type="text" id="3" class="hide" name="3" value="" size="2"> </td> <td align="center" bgcolor="black"><input type="text" id="4" class="hide" name="4" value="" size="2"> </td> </tr> <tr> </tr> <input value="submit" name="submit" type="submit"> </form> </body> </html> Hi there, I have created a site that can be viewed at www.prestigeinteractive.com/legacy2 On this site I have utilized a basic two column design with both a header and a footer. You may need to look at the first page to know what i am talking about. Upon creating the site I wanted to make the athletes on the page extend beyond the borders of the site's wrapper. In order to do that and maintain reasonable filesizes, I opted to splice the images. I used a jpeg for the large part within the wrapper, and used a png in a absolute positioned div for the parts that are to extend beyond the site's wrapper/container (needed a transparent image to display the border and site's background properly). The friend I am making the site for asked if I could set it up so that there can be a number of images that randomly load when a user enters the home page. I am not sure it that is possible using the format I've implemented (2 images properly aligned). Can this be done? I've done it before with single images within a div tag, but not two that need specific coordinates to appear aligned correctly. If "yes this can be done", could someone kindly point me in the right direction to find a tutorial on this. If not, I'd appreciate knowing this as well, as I'll need to come up with an alternative plan. Thank you for your time, G |