PDA

View Full Version : Pop It Menu



angel
10-08-2005, 12:54 AM
I have a problem with "Pop-it menu (http://www.dynamicdrive.com/dynamicindex1/popit.htm)"... I want to make many pop-it menu's on my site... as an arhive - 250 names: every name with his pop it menu. i changed every what was necessary, but when i came to number 10 nothing works. When I delete number 10 it works again for all others (0-9). I am at number 10 and have these problems and I want to make 250 names! how???? I can send you by mail my html-page, so you can see what i want if you didn't understand.

thanks!!!

ddadmin
10-08-2005, 10:17 AM
Do you have a URL to the problem page showing 10 pop-it menus and with the errors? I see no reason why you can't go beyond 9 pop-it menus.

angel
10-08-2005, 07:37 PM
On this Blog (http://peratovac.blog.hr/) you see our idea...(this is only a working blog-page; the real blog is on a other address. when i am finished with the html i will copy everything in the other blog).

on the right the names of newspaper and other medias, pdf documents etc. they worked till i began to work with the first name on the left. on the left the names of people who are mentioned in the blog in over 200 articles my husband has written. now, we would make a arhive with the names... for example... the begin of the html...(i can send you the whole html, so you can see everything if you want)


<html>
<head>

<style type="text/css">

#popitmenu{position: absolute;background-color: white;border:1px solid gray;font: normal 11px Verdana;line-height: 18px;z-index: 100;visibility: hidden;}

#popitmenu a{text-decoration: none;padding-left: 6px;color: #27408B;display: block;}

#popitmenu a:hover{ /*hover background color*/background-color:#B0C4DE;}

</style>

<script type="text/javascript">

/***********************************************
* Pop-it menu- © Dynamic Drive (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit http://www.dynamicdrive.com/ for full source code
***********************************************/

var defaultMenuWidth="150px" //set default menu width.

var linkset=new Array()
//SPECIFY MENU SETS AND THEIR LINKS. FOLLOW SYNTAX LAID OUT

linkset[0]='<a href="http://www.vjesnik.hr">Vjesnik</a>'
linkset[0]+='<a href="www.vecernji-list.hr/">Večernji List</a>'
linkset[0]+='<a href="http://www.dnevnik.com.hr/">Dnevnik</a>'
linkset[0]+='<a href="http://www.novilist.hr">Novi List</a>'
linkset[0]+='<a href="http://www.glas-slavonije.hr">Glas Slavonije</a>'
linkset[0]+='<a href="http://www.slobodnadalmacija.hr">Slobodna Dalmacija</a>'
linkset[0]+='<a href="http://www.24sata.hr">24 Sata</a>'
linkset[0]+='<hr>' //Optional Separator
linkset[0]+='<a href="http://www.globus.com.hr">Globus</a>'
linkset[0]+='<a href="http://www.nacional.hr">Nacional</a>'
linkset[0]+='<a href="http://www.feral.hr">Feral Tribune</a>'
linkset[0]+='<a href="http://www.fokus-tjednik.hr">Fokus</a>'
linkset[0]+='<a href="http://www.glas-koncila.hr/">Glas Koncila</a>'

linkset[1]='<a href="http://www.monitor.hr/">Monitor</a>'
linkset[1]+='<a href="http://www.index.hr/">Index</a>'
linkset[1]+='<a href="http://www.htnet.hr">HTnet</a>'
linkset[1]+='<a href="http://www.vip.hr/">VIP</a>'
linkset[1]+='<a href="http://www.iskon.hr/]">Iskon</a>'
linkset[1]+='<a href="http://www.zamirzine.net/">ZaMirZine</a>'
linkset[1]+='<a href="http://www.kupus.net/">Kupus.net</a>'
linkset[1]+='<a href="http://www.denis-latin.com/">denis-latin.com</a>'
linkset[1]+='<a href="http://www.ffi-weilheim.de/">Forschungsinstitut für Friedenspolitik e.V.</a>'
linkset[1]+='<a href="http://www.mediaplan.ba/">Media plan institut</a>'
linkset[1]+='<a href="http://www.balkansecurity.com/">Dnevne novine Foruma za jugo-istočnu Evropu</a>'

linkset[2]='<a href="http:///www.hina.hr/">HINA</a>'
linkset[2]+='<a href="http:///www.ika.hr/">IKA</a>'
linkset[2]+='<hr>' //Optional Separator
linkset[2]+='<a href="www.hrt.hr/hr/">Hrvatski Radio</a>'
linkset[2]+='<a href="www.bbc.co.uk/croatian/">BBC Hrvatska</a>'
linkset[2]+='<a href="www.radio101.hr">Radio 101</a>'
linkset[2]+='<a href="www.www.obiteljski.hr/">Obiteljski Radio</a>'
linkset[2]+='<a href="www.nautic-radio.hr/">Nautic Radio (Vis)</a>'
linkset[2]+='<hr>' //Optional Separator
linkset[2]+='<a href="www.hrt.hr/htv/">Hrvatska Televizija</a>'
linkset[2]+='<a href="www.rtl.hr/">Hrvatski RTL</a>'
linkset[2]+='<a href="www.novatv.hr/">Nova TV</a>'
linkset[2]+='<a href="www.otv.hr/">OTV</a>'

linkset[3]='<a href="http://www.oslobodjenje.com.ba/">Oslobođenje (Sarajevo)</a>'
linkset[3]+='<a href="http://www.avaz.ba/">Dnevni Avaz (Sarajevo)</a>'
linkset[3]+='<a href="http://www.bhdani.com/]">BHDani (Sarajevo)</a>'
linkset[3]+='<a href="http://www.slobodna-bosna.ba/">Slobodna Bosna (Sarajevo)</a>'
linkset[3]+='<a href="http://www.netnovinar.org/">Net Novinar (Sarajevo)</a>'
linkset[3]+='<a href="http://www.nezavisne.com/">Nezavisne novine (Banja Luka)</a>'

linkset[4]='<a href="http://www.dnevnik.si/">Dnevnik (Ljubljana)</a>'
linkset[4]+='<a href="http://www.delo.si/">Delo (Ljubljana)</a>'
linkset[4]+='<a href="http://mladina.si/">Mladina (Ljubljana)</a>'
linkset[4]+='<a href="http://www.vecer.si">Večer (Maribor)</a>'

linkset[5]='<a href="http://www.danas.co.yu/">Danas (Beograd)</a>'
linkset[5]+='<a href="http://www.kurir-info.co.yu/">Kurir (Beograd)</a>'
linkset[5]+='<a href="http://www.blic.co.yu/]">Blic (Beograd)</a>'
linkset[5]+='<a href="http://www.nin.co.yu/">NIN (Beograd)</a>'
linkset[5]+='<a href="http://www.b92.net/">B92 (Beograd)</a>'
linkset[5]+='<a href="http://www.dnevnik.co.yu/">Dnevnik (Novi Sad)</a>'
linkset[5]+='<hr>' //Optional Separator
linkset[5]+='<a href="http://www.monitor.cg.yu/]">Monitor (Podgorica)</a>'

linkset[6]='<a href=" http://www.novamakedonija.com.mk/DesktopDefault.aspx">Nova Makedonija</a>'

linkset[7]='<a href="http://www.derstandard.at">Der Standard</a>'
linkset[7]+='<a href="http://www.diepresse.at/">Die Presse</a>'
linkset[7]+='<a href="http://www.kurier.at/">Der Kurir</a>'
linkset[7]+='<hr>' //Optional Separator
linkset[7]+='<a href="http://www.orf.at/">ORF</a>'
linkset[7]+='<hr>' //Optional Separator
linkset[7]+='<a href="http://www.rog.at">Reporter ohne Grenzen</a>'
linkset[7]+='<a href="http://www.freemedia.at/">IPI / SEEMO</a>'
linkset[7]+='<a href="http://www.unis.unvienna.org/unis/index.html">UNIS Vienna</a>'

linkset[8]='<a href="http://www.voanews.com/bosnian/">Glas Amerike</a>'
linkset[8]+='<a href="http://www.danas.org/">Radio Slobodna Evropa</a>'
linkset[8]+='<a href="http://www.iwpr.net/balkans_index1.html">IWPR</a>'
linkset[8]+='<a href="http://www.agentura.ru/press/about/jointprojects/mn/horvat/">Agentura.ru</a>'
linkset[8]+='<a href="http://www.unreal-net.com/vijesti/2328">UnReal-Net</a>'
linkset[8]+='<a href="http://www.osce.org/secretariat/">OSCE Secretariat</a>'

linkset[9]='<a href="http://www.peratovic.net/zeljko/PDF-BASIC-imotske-novine.pdf">Mate Bašić - Imotske novine</a>'
linkset[9]+='<a href="http://www.peratovic.net/zeljko/Mate_Basic1.pdf">Mate Bašić Otvoreno o Željku Peratoviću I</a>'
linkset[9]+='<a href="http://www.peratovic.net/zeljko/Mate_Basic_Peratovic2.pdf">Mate Bašić Otvoreno o Željku Peratoviću II</a>'

linkset[300]='<a href="http://www.iskon.hr/tehnoklik/page/2005/04/05/0139006.html">45 lines na Iskon portalu/tehnoklik</a>'
linkset[300]+='<a href="http://arhiva.glas-javnosti.co.yu/arhiva/2005/07/25/srpski/B05072403.shtml">"Prete mu smrću zbog slučaja Osijek" - "Glas javnosti"</a>'

linkset[301]='<a href="http://www.forum.hr/showthread.php?threadid=79836&perpage=15&pagenumber=1">Tko je hrvatski novinar i uhoda MI6 u Hrvatskoj? (forum.hr)</a>'
linkset[301]+='<a href="http://www.index.hr/forum/topic.aspx?IDForum=5&IDTopic=30412&page=1">A Croatian journalist and MI6 agent in Croatia (index.hr)</a>'
linkset[301]+='<a href="http://www.libertyforum.org/showflat.php?Cat=&Board=news_crime&Number=293269256&Search=true&Forum=All_Forums&Searchpage=0&Limit=25&Old=1week&Main=293269256#Post293269256">MI6 Agent Zeljko Peratovic (libertyforum.org)</a>'
linkset[301]+='<a href="http://www.freewebs.com/hrvati-amac/crotian.htm">UPI o novinaru Vjesnika Z. Peratovicu (hrvati-amac)</a>'
linkset[301]+='<a href="http://www.xsorbit4.com/users/heroj/index.cgi?board=general&action=display&num=1108462668">Pressure.... by Carla Del Ponte.... (xsorbit4.com)</a>'
linkset[301]+='<a href="http://nemacenzure.7.forumer.com/viewtopic.php?t=1574&postdays=0&postorder=asc&start=25">Nema cenzure (forum)</a>'
linkset[301]+='<a href="http://www.cerna.info/WWF/forum_posts.asp?TID=114&PN=1">Cerna.Info-Forum</a>'

////No need to edit beyond here

everthing works till i put this on...


linkset[10]='<a href=" http://peratovic.blog.hr/arhiva-2005-04.html#242329 "> Hrvoje Petrac's Israeli Connection</a>'
linkset[10]+='<a href=" http://peratovic.blog.hr/arhiva-2005-04.html#243096"> Je li uhićenje Hrvoja Petrača u Izraelu propalo?</a>'
linkset[10]+='<a href=" http://peratovic.blog.hr/arhiva-2005-05.html#280156"> Heroji Lončarić i Perković u lovu na Gotovinu</a>'
linkset[10]+='<a href=" http://peratovic.blog.hr/arhiva-2005-08.html#1615099373"> Karamarkov put do slave
</a>'
linkset[10]+='<a href=" http://peratovic.blog.hr/arhiva-2005-08.html#1615104310"> Who is who on croatian political undergound scene</a>'
linkset[10]+='<a href=" http://peratovic.blog.hr/arhiva-2005-08.html#1615117043 "> Stjepan Đureković, Krunoslav Prates i Josip Perković</a>'

then, nothing will work. not even the first 9 that worked before. i don't know what to do...

ddadmin
10-11-2005, 12:26 AM
There are a few problems with the way you installed the script. Firstly, any apostrophes within any of the content need to be backslashed, so instead of:

linkset[10]='<a href="http://peratovic.blog.hr/arhiva-2005-04.html#242329">Hrvoje Petrac's Israeli Connection</a>'

It should be:

linkset[10]='<a href="http://peratovic.blog.hr/arhiva-2005-04.html#242329">Hrvoje Petrac\'s Israeli Connection</a>'

You'll need to do this for every menu content that contains apostrophes. Secondly, make sure you're naming your arrays sequentially, so it goes from:

link[0]
link[1]
"
link[300]

for example. On your page there is a huge gap in numbering from [10] to [300].

Since you're working with a lot of menu links, I recommend creating a test page first with menu contents, and once that works, migrate to your actual page.

angel
10-11-2005, 09:06 PM
oh, thanks for the information. i'll get back to inform you if everything is now ok. thanks again :)

angel
10-12-2005, 04:58 PM
it works!!!!!!!!!!!!!!!! yeah! thank you a lot! :)

angel
10-18-2005, 10:13 PM
new question, same theme: i want all pop-up windows to be open down, not up... what and where should i change? thank you