HTML - Buttom For Sorting Text
i'm building some small website and have stuck with sorting text in my website: what i want to get is sorting function so i can sort may contest wit button 1st - a to z 2nd by date. can somewhan explin me have to do that.
website luck like that : <h1> title </h1> here i want to put button 1 here i want to put button 2 <h2> title1</h2> <p> date1</p> <p>text1</p> <hr/> <h2> title2</h2> <p> date2</p> <p>text2</p> <hr/> <h2> title3</h2> <p> date3</p> <p>text3</p> <hr/> i really stuck with this - if needed i can put all in tables. like: <table> <tr> <td> <h2> title1</h2> <p> date1</p> <p>text1</p> <hr/> </td> </tr> </table> please help me. Similar Tutorialshello when you press any button on a site, it produces an "I have clicked this button therefore I need to make a marquee around it" image. can this be removed from the button? ie, <a href="some link"><img src="some image"></a> when the button "some image" is clicked, the marquee appears >.< can it be removed..? maybe it cant... i dont know >.< anyone? thanks sophia Hi, I have a bunch of links that I want to alphabatize. Here is what the code looks like: <a href="http://youtube.com/watch?v=YhU1kJ19AgQ">Steppenwolf - Magic Carpet Ride</a><br> <a href="http://youtube.com/watch?v=Bfei_BCjYzQ">Coldplay - Don't Panic</a><br> <a href="http://youtube.com/watch?v=Rdkt-fDvk_Q">Johnny Cash - Folsom Prison Blues</a><br> <a href="http://youtube.com/watch?v=-WZghK8I-AU">James Brown - Doing It to Death</a><br> <a href="http://youtube.com/watch?v=RGm8aagBQxE">Little Brother - Let It Go (Feat. Mos Def & Talib Kweli)</a><br> This goes on for a few hundred more links. They are all inside one paragraph tag. Is there a fast way to alphabatize these band names? Hello. Is there a way to use HTML so that I able to sort by a series of dates? I have a database I am currently using to manage my contacts. I would like to be able to pull up the contacts that have been recently contacted, say in the past 2 months; I would like to be able to sort this database through a series of dates: Ex. 1/30/07 - 3/30/07 and then the database would pull up just those contacts that have been contacted within those dates (each contact entry has a "date of contact" field assigned to it). My database is in Filemaker and I am using BBEdit to manage the web based portion. Any help or information would be greatly appreciated. Thanks. Riiight, this is driving me mad http://int.jatos.co.uk/kcda/ Need to get copyright info to stay at the base of the page regardless of the length of content with without my floats in the content going weird, and I don't want to use Javascript. Anyone know a way I can achieve this, tis' is driving me MADDD! I have a basic form. I want to get all that information and make it searchable on my site. the form will consist of names, addresses and images nothing too complicated. Do i have to use xml? I know this is a long answer but can someone lead me to a website a link in this forum. Hey guys, Okay so i have a question over a table that I am generating with data from a database. The way i have my table set up is like this: Recipe Name-----Prep Time-----Total Time-----Rating ========================================= some data here 12 mins 20 mins 4.5 some data here 12 mins 20 mins 4.5 some data here 12 mins 20 mins 4.5 some data here 12 mins 20 mins 4.5 So what i want to know is if I could make the Column Header (RECIPE NAME) into a link that way the user can click it and it would sort the recipe names in ascending order. When i open the page i am already displaying all the data form the database in this table. but i want to allow the user to be able to sort the recipe names. So i would have to i guess (REFRESH) the page automatically?? I already have teh code to sort my data, what I need to know is how exactly to go about making the column header into a link to SORT and then refresh the page Here is my code I currently have used to create the TABLE and populate it using a while loop to send the data from the DB into the table: <table border="2" width ="500"> <tr> <th>Recipe Name</th> <th>Prep Time</th> <th>Total Time</th> <th>Rating</th> </tr> <!--While statement used to pass data from DB into tables --> <? while( $row = mysql_fetch_array( $result ) ) { ?> <tr> <td><a href="ShowRecipe.php?id=<?=$row['id'] ?>"><?=$row['name'] ?></a></td> <td><?=$row['preptime']?> mins</td> <td><?=$row['totaltime']?> mins</td> <td><?=$row['rating']?></td> </tr> <? } ?> </table> Hello. I am quite new to this kind of page work so I am looking for some help. I am trying to have my page show listed items by letter and, with each letter, a number of results per a page. For example. I would like to add "Abacus" to to "A", but "A" has 20 items already. How would I make it so that "Abacus" pushes the list down and a second page is created? I am hoping for a script because I plan to add new items regularly. It would be tedious to manually create a new page and to sort every item down one. I know the JS works, but for some reason, this piece of html causes it to sort wrong. I rewrote this coding several times, but still same error. I need these movies added to my database, but I'm not sure what to do. I've stripped it down to make it more convenient: http://tivaelydoc.110mb.com/horror.html Hi. I have a really strange script, and its completely messed up My problem is that there is writing i dont need, but there are 138 different sections of this writing. Each one slightly different. I wanted to know if there was any way to get rid of all of the stuff i don't want, without having to repeat it 138 times. Thanks for reading. Could someone tell me what's involved or suggest a way that I could have a table full of info made up of store names, state/province, address, phone numbers etc. that could instantly be sorted by one of these categories. Hi All, I am new to this forum and is expecting an answer for this question. I have implemented a facebook type search to the database which displays the familiar text saved in the database when I type some text in the database. My issue is after I have used the search box for a couple of time the text box starts displaying a similar dropdown from its history which hides my database search. Does anyone know how to disable it using html or css. See the attached Image if my question is not clear. http://www.htmlforums.com/attachment...1&d=1306715905 here is the (ineffective) code currently: <img style="float: left; width: 169px; height: 73px;" src="img/logo1.png" alt="" /> <h1 style="text-align: center;">random text</h1> the image shifts the left margin such that the text is centered as though the page width was 169px less than it really is. i'm not debating the code itself; the code above behaves as its meant to. aka no surprises. i just cant figure out the appropriate code to center the text across the entire real width of the page as though there was no image. i've tried div tags & all the things google hunting advised. no luck. other than finding this forum, which seems like it'll be a boon! thanx in advance for advise/comments/feedback/help. I have several websites that I maintain and update. A lot of them are just textual changes and I would think my customers can do these themselves by editing a simple .txt file. I was hoping my choices are avalable so that I can just insert this tag into my web pages and then give them login info to their edit page or show them how to upload the .txt file. I hope this is an easy one with several answers. Is it possible these tags could discipline your rankings in the search engines? Thanks, Jason Hi Can any one help. I have this form the user is ask to input a message and a number. I want to be able to add a line of text to the message, which the user can not delete. But is sent joined to the message. ie User input Message = "Hi Just would like to share this site with you" with added text: Message "Hi Just would like to share this site with you" + "mydomain.com" Can anyone help? =========================================== Here is my form so far <script language="javascript" type="text/javascript"> function limitText(limitField, limitCount, limitNum) { if (limitField.value.length > limitNum) { limitField.value = limitField.value.substring(0, limitNum); } else { limitCount.value = limitNum - limitField.value.length; } } </script> <html> <body> <form action="stext.php" method="POST" name="number" id="number" style="width: 384; height: 372; "> <input name="number" type="text" id="number" style="position: absolute; left: 123; top: 287; color: #FFFFFF; width: 154px; border: 1px solid #ACC61B; background-color: #000000" size="20" tabindex="2"><p style="margin-top: 0; margin-bottom: 0"> <textarea name="message" cols="17" rows="1" id="message" onKeyDown="limitText(message,countdown,140);" onKeyUp="limitText(message,countdown,140);" style="position: absolute; left: 120; top: 105; width: 162px; height: 154px; color: #FFFFFF; font-family: Agency FB; font-size: 14pt; border: 1px solid #ACC61B; background-color: #000000" tabindex="1"></textarea> <br> </td> <input name="Submit" type="submit" id="Submit" value="!" style="position: absolute; left: 121; top: 329; color: #D95503; width: 157px; height: 23px; border: 1px solid #D95503; background-color: #D95503" tabindex="3"></p></form> <p style="margin-top: 0; margin-bottom: 0"><font size="4" face="Agency FB">Maximum characters: 140. You have <input readonly type="text" name="countdown" size="3" value="140"> characters left.</font> </font></p> <p style="margin-top: 0; margin-bottom: 0">nmgnm,</p> </body> How do I Link text in a div, h1, h2, p to an external text file or xml file - I don't really know how to ask the question. I think I need an xml file that can be easily edited by a user saved to the server to update an xhtml page text without the user getting bogged down in html. I don't want to use joomla or cms. <Any ideas />? Best wishes, mas i have a lot of text files(2-400) all have quite alot of text inside them so is there some software that can help me convert it all into html pages?? somthing that i am doing right now is: copied all of my text files pasted them into other location and editing each file and giving extention html/htm. now can u tell somthing better?? all the files will open in same frame(obviously one at a time), all have styling n everything same. Hi, this is appleguy.......6142! I was wondering how to make a text box display something somewhere else for example (This does not work)---- ------------------------------------------------------------------ [page1.html] (Pretend this is a text box)>>> [Text Text Text...] [page2.html] -This is the text displayed in the text box->>>Text Text Text... HOW DO I DO THAT PLEASE HELP!! I want to implement a rollover (javascript or css) that changes text when you rollover it. E.g. someone's name and when you rollover it shows their address. I've googled this and found a css rollover which changes the color of the text but is there a way to completely change the text? Any help much appreciated, thanks Hi, I hope I'm posting in the right area as this is my first thread. The problem I'm facing is I have 7 links in a row | Link 1 | Link 2 | Link 3 | Link 4 | Link 5 | Link 6 | Link 7 | and below those links I have nothing. What I want is for Text to appear on rollover on Link 1 and stay there until Link 2 or another link is hovered over. Example: Mouse hovers on Link 1 - called Free Home Survey Text appears below row of links about Free Home Surveys that the company does Mouse hovers on Link 3 - called Personalisation Text appears below the row of links about Personalisation etc Any help would be greatly appreciated. Thanks in advance I have seen this many times but can not figure how to do it. Its the transparent images or text in text boxes, one example of this is http://au.movies.yahoo.com/Coming+Soon/to-cinemas/ At the top right you can see that transparent yahoo image in the text box and when you click it it disappears then comes back? can someone tell me how this works? Thanks |