-
February 6th, 2008, 12:44 AM #1
added functionality for links to each thread.
I am suggesting that this code
be modified and then implemented when browsing each forum, as it is on the forum index (which is where above code is used, and probably is copyrighted to TechIMO or whomever). The idea is that you can click anywhere in the TD tag that the site uses for each thread when you mouse over them to open the thread. like this:Code:<td class="alt1Active" align="left" id="f3" onMouseOver="this.style.backgroundColor='#FFFED8'; this.style.cursor='hand';" onMouseOut="this.style.backgroundColor='#FFFFFF';" onclick="window.location.href='f3/index.html'"> <div> <a href="forumdisplay.php?f=3"><strong>IMO Community</strong></a> <span class="smallfont">(67 Viewing)</span> </div> <div class="smallfont">Non-tech discussion here.</div> </td>
Code:<td class="alt1" id="td_threadtitle_200097" onMouseOver="this.style.backgroundColor='#FFFED8'; this.style.cursor='hand';" onMouseOut="this.style.backgroundColor='#FFFFFF';" onclick="window.location.href='f3/index.html'">
-
March 18th, 2008, 04:37 PM #2
-
March 18th, 2008, 05:00 PM #3
If I'm understanding your suggestion correctly you want to make the entire TD an active link as it is on the main page. The problem with that suggestion is that within the TD for specific threads also lies links for specific pages, last page, user profiles ect. its not a single specific link as it is on the main page for subforums.
TechIMO Folding@home Team #111 - Crunching for the cure!
“Because The People Who Are Crazy Enough To Think They Can Change The World, Are The Ones Who Do.”
-
March 19th, 2008, 02:17 PM #4
I just downloaded the page and gave it a test run locally. I like the idea, make the whole td a link to the first page of the post, same as clicking on the text link to the post. If done with javascript, this is overridden by the <a> tags inside of the td so you don't lose the ability to add the extra links!
-
March 19th, 2008, 11:18 PM #5
I would guess that the same subroutine (looping, I'd imagine) creates the code for each thread, each existing TD, so can't this HTML just be incorporated into that sub/function. This is PHP, right?
obviously this will increase the amount of data that needs to be transferred to the visitor, so perhaps that's an issue with it potentially increasing load times.
-
March 19th, 2008, 11:32 PM #6
-
March 21st, 2008, 05:48 PM #7
the data is already being pulled from the database, so it shouldn't add an extra database query. It shouldn't include much more scripting to make this work. It shouldn't be too much more html code either
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Windows Scripting Host and its functionality
By ShuckyD in forum Webmastering and ProgrammingReplies: 4Last Post: November 17th, 2006, 04:44 PM -
Added another cow, take a look.
By Idigguns in forum Distributed ComputingReplies: 2Last Post: September 28th, 2003, 06:03 PM -
[FaD] Can this link be added to the Team's FaD Links page?
By vserlnv in forum Distributed ComputingReplies: 3Last Post: April 29th, 2003, 12:13 AM -
Utility links - just links use PM for thanks
By dunbar in forum Applications and Operating SystemsReplies: 10Last Post: January 16th, 2003, 01:38 PM -
thread to post good links?
By draboo in forum General Tech DiscussionReplies: 0Last Post: August 2nd, 2002, 03:43 PM



LinkBack URL
About LinkBacks



Reply With Quote



The fan vote went to miss popularity Danica Patrick instead of a driver with a real chance at winning.
Is It Just Me? v233893843