|
Post by rhondairv on Aug 31, 2010 13:25:43 GMT -8
Would it be possible to have a drop down menu on the homepage under a topic of choice of the Threads in that topic and possibly in ABC order? Like for instance this page ... hookieshookup.proboards.com/index.cgi?board=ranksandbadges showing a drop down menu here.. Also... what if there is more than one page.. would they all show or would the person add them all in the code so they show?
|
|
|
Post by Wormopolis on Aug 31, 2010 15:39:00 GMT -8
you wontbe able to automatically get threads from inside the board, but if you want a drop down of specific threads, THAT can be done - by adding them into the code manually.
|
|
|
Post by rhondairv on Aug 31, 2010 16:14:48 GMT -8
That would work.
|
|
|
Post by rhondairv on Sept 2, 2010 18:27:17 GMT -8
not because i am impatient but because i am unsure where we are.. si or no? lol
|
|
|
Post by Wormopolis on Sept 2, 2010 18:42:57 GMT -8
we are go with this.. just havent started on it. Im obsessed with getting the tournament bracket code working...
|
|
|
Post by rhondairv on Sept 2, 2010 18:46:17 GMT -8
lol okie. good luck with that.
|
|
|
Post by Wormopolis on Sept 11, 2010 2:14:16 GMT -8
I havent forgotten about this.. I have just been swamped at work. I went out to San Diego to help out with something and accidentally brokw a new digital projector at a theatre, so I have been spending extra hours trying to get the damn thing back online.
I drive back to Vegas on Saturday so I can work on this this weekend.
|
|
|
Post by rhondairv on Sept 11, 2010 12:20:12 GMT -8
Thanks wormo and believe me , i appreciate it! Good luck with that projector
|
|
|
Post by Wormopolis on Sept 12, 2010 22:25:45 GMT -8
<script type="text/javascript"> <!-- // Thread dropdown below description // By Wormopolis - www.wormocodes.com // concept by rhondairv // do not repost - keep header intact
var dataArray=new Array(); dataArray['codedb']="Spotlight Codes|119:Code Index; 238:Daily Weather Changer; 295: ColorSmear; 304:SkinView"; dataArray['general']="Some Random Threads|19:Hiya!; 588:Cant Get to Headers&Footers?";
// dataArray[BOARD_ID]="DROP_TITLE|THREAD_ID:THREAD_TITLE; THREAD2_ID:THREAD2_TITLE; etc... "; //no ; after last one
for (tds=document.getElementsByTagName('td'), mt=0; mt<tds.length; mt++) { if (tds[mt].width=='66%' && tds[mt].className.match(/windowbg/) && tds[mt].vAlign=='top') { var bname=tds[mt].firstChild.firstChild.href.match(/board=(.*?)$/) ? RegExp.$1 : ''; if (dataArray[bname]) { nwdv=document.createElement('div'); nwdv.align='center'; droptitle=dataArray[bname].split('|')[0]; var holdthisforme='<select onmouseover="pb_bubble=1" onmouseout="pb_bubble=0" onchange="pb_bubble=1; location.href=this.value"><option value="">'+droptitle+'</option>'; dropdata=dataArray[bname].split('|')[1].split(';'); for (tdrp=0; tdrp<dropdata.length; tdrp++) { holdthisforme+='<option value="/index.cgi?board='+bname+'&action=display&thread='+parseInt(dropdata[tdrp].split(':')[0])+'">'+dropdata[tdrp].split(':')[1]+'</option>'; } nwdv.innerHTML=holdthisforme+'</select>'; tds[mt].appendChild(nwdv); } } }
// --> </script>
main footer
|
|
|
Post by rhondairv on Sept 13, 2010 14:58:03 GMT -8
Thanks wormo! This works great!!
|
|
|
Post by Wormopolis on Sept 13, 2010 21:59:16 GMT -8
publishable?
|
|
|
Post by rhondairv on Sept 14, 2010 9:57:30 GMT -8
very much so!
|
|
|
Post by rhondairv on Sept 14, 2010 11:19:17 GMT -8
My ONLY thing is i put diff titles to each drop down so i had to add the codes multiple times. It's not a big deal at all though. I don't think it really slows things down, but maybe a way to add the diff titles to each drop down in one code would be cool also. Just a thought for another time. This is one of my fav codes,btw.
|
|
|
Post by Wormopolis on Sept 14, 2010 18:42:18 GMT -8
recopy
|
|
|
Post by rhondairv on Sept 15, 2010 12:17:13 GMT -8
|
|