Registriraj se
Artservis1

Izmenjava
 












  • Logo(1)
  • razlika v ceni ....(3)
  • Dreamweaver vrašanje(7)
  • Delo dobi...(1)
  • Iščemo arhitekturne projektante!(0)
  • Okus 51. beneškega bienala umetnosti (0)
  • Splet 2.0? (0)
  • Reason - Šola z razlogom 5. del (1)
  • Animiran metulj (0)
  • Reason - Šola z razlogom 4. del (0)
  • Taktike & praksa: Seminar novomedijske umetnosti (0)
  • Povabilo k sodelovanju na festivalu HAIP10 (0)
  • Apple iPad: odiseja v vesolju? (0)
  • Game Developers Conference San Francisco 2010 (0)
  • Google Chrome Beta za Mac in Linux ter razširitve (0)

  • Forum> programje & tehnika> Javascript menu
    Vector

    Član

    .:Javascript menu:. 22/11/2003, ob 12:19

    Naredil sem eno stran ( www.prvi-ef.tk ), sicer je še v fazi izdelovanja.
    Imam en problem z tistimi menuje zgoraj. V brskalniku IE5+, Mozzila in Netscape 7.1 gre vse vredu, edino v Netscape-u 7.0 se ti menuji ne odprejo žez iFrame.:(

    Poglejte malo kodo na tej strani, tu je še link do javascript fajla: http://www.druga.org/~raz03f/home/xaramenu.js pa mi povejte, kaj bi lahko naredil, da bi stran delovala tudi v Netscapeu 7.0.

    EMET

    Član

    .::. 22/11/2003, ob 14:45

    Ja to pa je famozni iframe in Mozilina sposobnost prikazati ga ...
    Emet is the truth ...
    Vector

    Član

    .::. 23/11/2003, ob 09:28

    Se Mozilla prikaže stran vredi (je kaj se tiče javascriptov identičen Netscape-u 7.1), samo Netscape 7.0 ne prikaže teh menijev čez iframe.

    [BISI]

    Administrator

    .::. 23/11/2003, ob 10:03

    Ja, Netscape 7.0 bi lahko povzrocal tezave (ce je koda njemu neustrezno napisana). Uporabi meni kot ga lahko vidis na Pikslarju; klik.
    Life is a workaround...a bad one.
    Vector

    Član

    .::. 23/11/2003, ob 10:25

    Samo, koliko vidim ta stran ni narejena z iFrame-om. Sklepam da uporabljate funkcijo include.
    Čisto prepričan ne morem biti, če se bo tudi ta menu odprl čez iFrame.:mixed:

    Pa kaj je to DHTML? Bi deloval ta menu v HTML strani?

    Sporočilo je spremenil/a Vector [ 23.11.2003 ob 11:33 ]


    [BISI]

    Administrator

    .::. 23/11/2003, ob 10:32

    Deluje cez iframe (preizkuseno).
    Life is a workaround...a bad one.
    Vector

    Član

    .::. 23/11/2003, ob 18:55

    Kolikor vidim ta menu deluje celo v Operi.
    Samo to me še zanima, kje v tej kodi izklopim sence za gumbom (ne menujem), pa kak postavim ta menu na željen položaj, in kam sploh vstavim to kodo!?

    In še, kje pri linku napišem iframe, kjer naj se to odpre.














    Koda:

    _menuCloseDelay=500 // The time delay for menus to remain visible on mouse out
    _menuOpenDelay=150 // The time delay before menus open on mouse over
    _followSpeed=5 // Follow scrolling speed
    _followRate=40 // Follow scrolling Rate
    _subOffsetTop=10 // Sub menu top offset
    _subOffsetLeft=-10 // Sub menu left offset
    _scrollAmount=3 // Only needed for Netscape 4.x
    _scrollDelay=20 // Only needed for Netcsape 4.x



    with(menuStyle=new mm_style()){
    onbgcolor="#4F8EB6";
    oncolor="#ffffff";
    offbgcolor="#DCE9F0";
    offcolor="#515151";
    bordercolor="#296488";
    borderstyle="solid";
    borderwidth=1;
    separatorcolor="#2D729D";
    separatorsize="1";
    padding=5;
    fontsize="75%";
    fontstyle="normal";
    fontfamily="Verdana, Tahoma, Arial";
    pagecolor="black";
    pagebgcolor="#82B6D7";
    headercolor="#000000";
    headerbgcolor="#ffffff";
    subimage="menuimages/arrow.gif";
    subimagepadding="2";
    overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color="#777777", Direction=135, Strength=5)";
    outfilter="randomdissolve(duration=0.3)";
    }


    with(milonic=new menuname("Main Menu")){
    style=menuStyle;
    top=220;
    left=180;
    alwaysvisible=1;
    orientation="horizontal";
    aI("text=Home;url=http://www.milonic.co.uk/;status=Back To Home Page;");
    aI("text=Menu Samples;showmenu=Samples;");
    aI("text=Milonic;showmenu=Milonic;");
    aI("text=Partners;showmenu=Partners;");
    aI("text=Links;showmenu=Links;");
    aI("text=My Milonic;showmenu=My Milonic;");
    }

    with(milonic=new menuname("Samples")){
    style=menuStyle;
    overflow="scroll";
    aI("text=Horizontal Navigation Bar;url=menusample.php?sampleid=1;");
    aI("text=Vertical Navigation Bar;url=menusample.php?sampleid=2;");
    aI("text=All Horizontal Menus;url=menusample.php?sampleid=25;");
    aI("text=Using "popup" based on HTML Objects with fixed Position;url=menusample.php?sampleid=3;");
    aI("text=Using "popup()" Bound to Images;url=menusample.php?sampleid=24;");
    aI("text=Image Map Sample;url=menusample.php?sampleid=4;");
    aI("text=Multiple Styles;url=menusample.php?sampleid=5;");
    aI("text=Multiple Properties;url=menusample.php?sampleid=6;");
    aI("text=Multiple Colors;url=menusample.php?sampleid=7;");
    aI("text=Menu Items as Headers;url=menusample.php?sampleid=8;");
    aI("text=Relative Positioning (Table Bound);url=menusample.php?sampleid=9;");
    aI("text=100% Width Span Menu;url=menusample.php?sampleid=26;");
    aI("text=Follow Scrolling;url=menusample.php?sampleid=10;");
    aI("text=Positioning with "screenposition" & "offsets";url=menusample.php?sampleid=23;");
    aI("text=Opening Windows & Frames;url=menusample.php?sampleid=11;");
    aI("text=XP Style;url=menusample.php?sampleid=12;");
    aI("text=Windows 98 Style;url=menusample.php?sampleid=13;");
    aI("text=Activating MouseOver & MouseOut Functions;url=menusample.php?sampleid=15;");
    aI("text=Static Images Sample;url=menusample.php?sampleid=16;");
    aI("text=RollOver Images;url=menusample.php?sampleid=17;");
    aI("text=All Images;url=menusample.php?sampleid=18;");
    aI("text=Images as Menu Backgrounds;url=menusample.php?sampleid=19;");
    aI("text=Background Menu Item Images;url=menusample.php?sampleid=20;");
    }

    with(milonic=new menuname("Milonic")){
    style=menuStyle;
    aI("text=Product Purchasing Page;url=http://www.milonic.co.uk/cbuy.php;");
    aI("text=Contact Us;url=http://www.milonic.co.uk/contactus.php;");
    aI("text=Newsletter Subscription;url=http://www.milonic.co.uk/newsletter.php;");
    aI("text=FAQ;url=http://www.milonic.co.uk/menufaq.php;");
    aI("text=Discussion Forum;url=http://www.milonic.co.uk/forum/;");
    aI("text=Software License Agreement;url=http://www.milonic.co.uk/license.php;");
    aI("text=Privacy Policy;url=http://www.milonic.co.uk/privacy.php;");
    }

    with(milonic=new menuname("Partners")){
    style=menuStyle;
    aI("text=(aq) Web Hosting;url=http://www.a-q.co.uk/;status=(aq) Web Server Hosting & Services;");
    aI("text=SMS 2 Email;url=http://www.sms2email.com/;");
    aI("text=WebSmith;url=websmith;");
    }

    with(milonic=new menuname("Links")){
    style=menuStyle;
    aI("text=Apache Web Server;url=http://www.apache.org/;status=Apache Web Server, the basis of Milonic"s Web Site;");
    aI("text=MySQL Database Server;url=http://ww.mysql.com/;status=MySQL, Milonic"s Prefered Choice of Database Server;");
    aI("text=PHP - Development;url=http://www.php.net/;status=PHP - Web Server Scripting as used by Milonic;");
    aI("text=phpBB Web Forum System;url=http://www.phpbb.net/;status=PHP Based Web Forum, Milonic"s Recommended Forum Software;");
    aI("text=Anti Spam Tools;showmenu=Anti Spam;status=Anti Spam Solutions, as used by Milonic;");
    }

    with(milonic=new menuname("Anti Spam")){
    style=menuStyle;
    aI("text=Spam Cop;url=http://www.spamcop.net/;");
    aI("text=Mime Defang;url=http://www.mimedefang.org/;");
    aI("text=Spam Assassin;url=http://www.spamassassin.org/;");
    }

    with(milonic=new menuname("My Milonic")){
    style=menuStyle;
    margin=20;
    aI("text=Login;url=http://www.milonic.co.uk/login.php;");
    aI("text=Licenses;url=http://www.milonic.co.uk/mylicenses.php;");
    aI("text=Invoices;url=http://www.milonic.co.uk/myinvoices.php;");
    aI("text=Make Support Request;url=http://www.milonic.co.uk/reqsupport.php;");
    aI("text=View Support Requests;url=http://www.milonic.co.uk/mysupport.php;");
    aI("text=Your Details;url=http://www.milonic.co.uk/mydetails.php;");
    }

    drawMenus();



    Sporočilo je spremenil/a Vector [ 23.11.2003 ob 20:01 ]

    Sporočilo je spremenil/a Vector [ 23.11.2003 ob 20:07 ]


    Forum> programje & tehnika> Javascript menu
     

    Skok na: