Free Scan: Update Your PC's Outdated Drivers to Optimize Performance
February 6th, 2008, 12:44 AM
|
#1 (permalink)
| | Ultimate Member
Join Date: Oct 2001 Location: Everywhere
Posts: 1,050
| added functionality for links to each thread.
I am suggesting that this code 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> 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="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, 05:37 PM
|
#2 (permalink)
| | Ultimate Member
Join Date: Oct 2001 Location: Everywhere
Posts: 1,050
| |
| |
March 18th, 2008, 06:00 PM
|
#3 (permalink)
| | Super Stealthy Moderator
Join Date: Jan 2003 Location: Outside the box
Posts: 4,359
|
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.
__________________ “Every question involves someone having to work for an answer, isn't it about time you did your share”
"The true measure of a man is the degree to which he has managed to subjugate his ego." |
| |
March 19th, 2008, 03:17 PM
|
#4 (permalink)
| | Super F@D Folder
Join Date: Jun 2004
Posts: 5,004
|
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 20th, 2008, 12:18 AM
|
#5 (permalink)
| | Ultimate Member
Join Date: Oct 2001 Location: Everywhere
Posts: 1,050
|
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 20th, 2008, 12:32 AM
|
#6 (permalink)
| | Member
Join Date: May 2005
Posts: 352
|
TechIMO is vBulletin, if that makes a differemce. |
| |
March 21st, 2008, 06:48 PM
|
#7 (permalink)
| | Super F@D Folder
Join Date: Jun 2004
Posts: 5,004
|
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 |
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | |
Posting Rules
| You may post new threads You may post replies You may not post attachments You may not edit your posts HTML code is Off | | | | Most Active Discussions | | | | | Recent Discussions  | | | | | |