Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
what kind of script is this?
Old 06-15-2005, 07:57 PM what kind of script is this?
dems's Avatar
Skilled Talker

Posts: 72
Trades: 0
sup!

can anyone help me try and locate the script used here...

http://isohunt.com/torrents.php?ihq=...o2=&irc=&iht=2

it's the one where you can click on a table row and have a new table (more detail) expand below.

any ideas?
thank you!
dems
__________________
Webmaster
CB's
Please login or register to view this content. Registration is FREE

The Largest Prom Dress Site on the net!

Last edited by dems; 06-15-2005 at 10:28 PM..
dems is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 06-15-2005, 11:08 PM
HaRRo's Avatar
SEO Expert

Latest Blog Post:
The Large Hadron Collider
Posts: 522
Location: United Kingdom
Trades: 0
i would like to know also
__________________

Please login or register to view this content. Registration is FREE

What are you waiting for? Easy $$$ anyone can make a fortune!
CLICK CLICK CLICK CLICK CLICK CLICK CLICK CLICK CLICK
HaRRo is offline
Reply With Quote
View Public Profile Visit HaRRo's homepage!
 
Old 06-16-2005, 07:57 AM
ibbo's Avatar
Super Spam Talker

Posts: 880
Location: Leeds UK
Trades: 0
just hooked upto bit-torrent by the look of it, torrent is a download engine.

Ibbo
__________________

Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE

Linux user #349545 :
(GNU/Linux)iD8DBQBAzWjX+MZAIjBWXGURAmflAKCntuBbuKCWenpm XoA7LNydllVQOwCf
ibbo is offline
Reply With Quote
View Public Profile Visit ibbo's homepage!
 
Old 06-16-2005, 06:47 PM
dems's Avatar
Skilled Talker

Posts: 72
Trades: 0
Quote:
Originally Posted by ibbo
just hooked upto bit-torrent by the look of it, torrent is a download engine.

Ibbo
heh... i know it is a torrent site... but if you look at the main table, and click on one of the cells, it expands. i'm trying to figure out what that is. DHTML, javascript, both? i hit google hard for about 20 mins hitting all the script sites... couldn't even find anything close. was hoping someone here could help!

__________________
Webmaster
CB's
Please login or register to view this content. Registration is FREE

The Largest Prom Dress Site on the net!
dems is offline
Reply With Quote
View Public Profile
 
Old 06-16-2005, 07:14 PM
Extreme Talker

Posts: 170
Location: Canada
Trades: 0
I have it in javascript format, I think...

Edit, yes I do (sort of):

Code:
//Popup function, still renders with scrollbars in Opera 7.x, works fine for IE and Mozilla (& variants).
function PortfolioPopup()
{ 
window.open('portfolio.html','PortfolioPopup','width=700,height=500,menubar=no,scrollbars=no,toolbar=no,location=no,directories=no,resizable=no,top=100,left=100'); 
}
/***********************************************
* Contractible Headers script- © Dynamic Drive (www.dynamicdrive.com)
* This notice must stay intact for use
* Visit http://www.dynamicdrive.com/ for full source code
***********************************************/
var enablepersist="on" //Enable saving state of content structure? (on/off)

if (document.getElementById){
document.write('<style type="text/css">')
document.write('.switchcontent{display:none;}')
document.write('</style>')
}

function getElementbyClass(classname){
ccollect=new Array()
var inc=0
var alltags=document.all? document.all : document.getElementsByTagName("*")
for (i=0; i<alltags.length; i++){
if (alltags[i].className==classname)
ccollect[inc++]=alltags[i]
}
}

function contractcontent(omit){
var inc=0
while (ccollect[inc]){
if (ccollect[inc].id!=omit)
ccollect[inc].style.display="none"
inc++
}
}

function expandcontent(cid){
if (typeof ccollect!="undefined"){
contractcontent(cid)
document.getElementById(cid).style.display=(document.getElementById(cid).style.display!="block")? "block" : "none"
selectedItem=cid+"|"+document.getElementById(cid).style.display
}
}

function revivecontent(){
selectedItem=getselectedItem()
selectedComponents=selectedItem.split("|")
contractcontent(selectedComponents[0])
document.getElementById(selectedComponents[0]).style.display=selectedComponents[1]
}

function get_cookie(Name) { 
var search = Name + "="
var returnvalue = "";
if (document.cookie.length > 0) {
offset = document.cookie.indexOf(search)
if (offset != -1) { 
offset += search.length
end = document.cookie.indexOf(";", offset);
if (end == -1) end = document.cookie.length;
returnvalue=unescape(document.cookie.substring(offset, end))
}
}
return returnvalue;
}

function getselectedItem(){
if (get_cookie(window.location.pathname) != ""){
selectedItem=get_cookie(window.location.pathname)
return selectedItem
}
else
return ""
}

function saveswitchstate(){
if (typeof selectedItem!="undefined")
document.cookie=window.location.pathname+"="+selectedItem
}

function do_onload(){
getElementbyClass("switchcontent")
if (enablepersist=="on" && getselectedItem()!="")
revivecontent()
}


if (window.addEventListener)
window.addEventListener("load", do_onload, false)
else if (window.attachEvent)
window.attachEvent("onload", do_onload)
else if (document.getElementById)
window.onload=do_onload

if (enablepersist=="on" && document.getElementById)
window.onunload=saveswitchstate
All of that /\ was in a seperate file that i titled menu.js, then I linked to it from my pages. To make the table collapsable I simply dropped in this bit...

Code:
<table>
<td style="filter:alpha(Opacity=90, style=0); -moz-opacity:0.9;" align="center" class="top">
        	<h3 onClick="expandcontent('sc1')" style="cursor:pointer;">Header</h3>
			<div id="sc1" class="switchcontent">

			</div>
			
        </td>
      </tr>
      <tr>
        <td style="filter:alpha(Opacity=85, style=0); -moz-opacity:0.85;" align="center" class="color">
        	<h3 onClick="expandcontent('sc2')" style="cursor:pointer">Header</h3>
			<div id="sc2" class="switchcontent">

			</div>
        </td>
      </tr>
      <tr>
        <td style="filter:alpha(Opacity=80, style=0); -moz-opacity:0.8;" align="center" class="color">
        	<h3 onClick="expandcontent('sc3')" style="cursor:pointer">Header</h3>
			<div id="sc3" class="switchcontent">

			</div>
<tr>
        <td style="filter:alpha(Opacity=75, style=0); -moz-opacity:0.75;" align="center" class="color">
        	<h3 onClick="expandcontent('sc4')" style="cursor:pointer">Header</h3>
			<div id="sc4" class="switchcontent">
			
			</div>
        </td>
      </tr>
    </table>
You don't necessarily need all of the stuff I dropped in there, it's up to you. The essentials are all there. I must say though, the one on the site you linked looks more like PHP to me.
__________________

Please login or register to view this content. Registration is FREE



Please login or register to view this content. Registration is FREE

Last edited by collyer_1; 06-16-2005 at 07:26 PM..
collyer_1 is offline
Reply With Quote
View Public Profile Visit collyer_1's homepage!
 
Old 06-16-2005, 07:24 PM
dems's Avatar
Skilled Talker

Posts: 72
Trades: 0
word! i'll give it a shot
__________________
Webmaster
CB's
Please login or register to view this content. Registration is FREE

The Largest Prom Dress Site on the net!
dems is offline
Reply With Quote
View Public Profile
 
Old 06-16-2005, 07:26 PM
Extreme Talker

Posts: 170
Location: Canada
Trades: 0
Is that sort of what you were thinking?
__________________

Please login or register to view this content. Registration is FREE



Please login or register to view this content. Registration is FREE
collyer_1 is offline
Reply With Quote
View Public Profile Visit collyer_1's homepage!
 
Old 06-16-2005, 07:42 PM
dems's Avatar
Skilled Talker

Posts: 72
Trades: 0
Quote:
Originally Posted by collyer_1
Is that sort of what you were thinking?
It might just work!

The funny thing is, I ran into this on DD and didn't realize, by the basic way that it looks, that it is extremely modify-able.

Gimmie an hour to see what I can come up with.

Thank You btw
__________________
Webmaster
CB's
Please login or register to view this content. Registration is FREE

The Largest Prom Dress Site on the net!
dems is offline
Reply With Quote
View Public Profile
 
Old 06-17-2005, 10:20 PM
dems's Avatar
Skilled Talker

Posts: 72
Trades: 0
well, i spent some time with the script, and i'm having a problem to get it looking even close to the one at isohunt. i think there are other elements integrated into thiers like highlighting the table cells on mouseover.

maybe it can be done with the above script, but its out of my reach. any other ideas/suggestions?

THANK YOU!
__________________
Webmaster
CB's
Please login or register to view this content. Registration is FREE

The Largest Prom Dress Site on the net!
dems is offline
Reply With Quote
View Public Profile
 
Old 06-18-2005, 07:42 PM
blkros's Avatar
Junior Talker

Posts: 2
Trades: 0
Here's their javascript file: http://isohunt.com/js/functions.js Maybe it'll give you some ideas.
blkros is offline
Reply With Quote
View Public Profile
 
Old 06-19-2005, 06:14 AM
Fara0^'s Avatar
Super Talker

Posts: 103
Location: Copenhagen
Trades: 0
[sarcasm]
500 - Internal server error.

This is a very hard script to do, you must learn basic html and learn how to use h1 tags.
Could take years!
[/sarcasm]

Btw. post 100! wee
__________________

Please login or register to view this content. Registration is FREE
Fara0^ is offline
Reply With Quote
View Public Profile Visit Fara0^'s homepage!
 
Old 06-19-2005, 06:48 AM
danburzo's Avatar
Skilled Talker

Posts: 82
Location: Bistrita RO
Trades: 0
Does it have to be animated? If not, it's very easy to do with CSS properties display:block and display:none.
danburzo is offline
Reply With Quote
View Public Profile
 
Old 06-19-2005, 05:31 PM
dems's Avatar
Skilled Talker

Posts: 72
Trades: 0
Quote:
Originally Posted by blkros
Here's their javascript file: http://isohunt.com/js/functions.js Maybe it'll give you some ideas.
RIGHT ON! Thank You

...and a great big DUH for me

dems
__________________
Webmaster
CB's
Please login or register to view this content. Registration is FREE

The Largest Prom Dress Site on the net!
dems is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to what kind of script is this?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 1.19650 seconds with 12 queries