Jump to content

SUBIECTE NOI
« 1 / 5 »
RSS
Monitor

Boala mar

Schimbare bascula (si altele) For...

Problema anxioasa, e normal cum g...
 Vitrina sucuri

F.Charm - La inalțime

Marker de scris pe bidoane

Lecțiile trase de comandanti...
 Recomandare telefon pt poze si ba...

Casa de paie

Verificare baza de date a politiei

Xiaomi sub 1200 lei
 programul Marțea Mastercard

Adaptare aspirator pe baterii, la...

Resetare baterie Acer Aspire E5-575

AMD Ryzen 7800X3D - stuttering
 

javascript.link spre alt frame

- - - - -
  • Please log in to reply
5 replies to this topic

#1
Hobo

Hobo

    Member

  • Grup: Members
  • Posts: 759
  • Înscris: 10.07.2004
am facut un site cu 3 frame-uri.
in cel din stanga am o navigation bar in care am linkuri.linkurile se deschid insa tot in frameul stang.eu vreau sa se deschida in frame-ul drept.am incercat mai multe tag-uri dar nici unul na mers.nici macar "target".

asta-i secventa din fisierul .js  :


Menu1=new Array("Home","tot2.htm","",0,20,138);

Menu2=new Array("About us","about_us.htm","",0,20,138);

imi puteti spune si mie ce tag sa folosesc pentru a deschide about_us.htm in alt frame?si unde trebuie pus tagul?

#2
Erwin

Erwin

    Member

  • Grup: Members
  • Posts: 851
  • Înscris: 13.09.2003
onclick="parent.numeframe.location.href=pagina.htm" (din html)

Menu2=new Array("About us","about_us.htm","numeframe",0,20,138);

Ar fi mai ok, daca ai posta tot js-ul

#3
Hobo

Hobo

    Member

  • Grup: Members
  • Posts: 759
  • Înscris: 10.07.2004
var NoOffFirstLineMenus=5; // Number of first level items
var LowBgColor='gray'; // Background color when mouse is not over
var LowSubBgColor='gray'; // Background color when mouse is not over on subs
var HighBgColor='black'; // Background color when mouse is over
var HighSubBgColor='black'; // Background color when mouse is over on subs
var FontLowColor='black'; // Font color when mouse is not over
var FontSubLowColor='black'; // Font color subs when mouse is not over
var FontHighColor='white'; // Font color when mouse is over
var FontSubHighColor='white'; // Font color subs when mouse is over
var BorderColor='darkgray'; // Border color
var BorderSubColor='darkgray'; // Border color for subs
var BorderWidth=1; // Border width
var BorderBtwnElmnts=1; // Border between elements 1 or 0
var FontFamily="arial,comic sans ms,technical" // Font family menu items
var FontSize=9; // Font size menu items
var FontBold=1; // Bold menu items 1 or 0
var FontItalic=0; // Italic menu items 1 or 0
var MenuTextCentered='left'; // Item text position 'left', 'center' or 'right'
var MenuCentered='left'; // Menu horizontal position 'left', 'center' or 'right'
var MenuVerticalCentered='top'; // Menu vertical position 'top', 'middle','bottom' or static
var ChildOverlap=.2; // horizontal overlap child/ parent
var ChildVerticalOverlap=.2; // vertical overlap child/ parent
var StartTop=100; // Menu offset x coordinate
var StartLeft=1; // Menu offset y coordinate
var VerCorrect=0; // Multiple frames y correction
var HorCorrect=0; // Multiple frames x correction
var LeftPaddng=3; // Left padding
var TopPaddng=2; // Top padding
var FirstLineHorizontal=0; // SET TO 1 FOR HORIZONTAL MENU, 0 FOR VERTICAL
var MenuFramesVertical=1; // Frames in cols or rows 1 or 0
var DissapearDelay=1000; // delay before menu folds in
var TakeOverBgColor=1; // Menu frame takes over background color subitem frame
var FirstLineFrame='navig'; // Frame where first level appears
var SecLineFrame='space'; // Frame where sub levels appear
var DocTargetFrame='space'; // Frame where target documents appear
var TargetLoc=''; // span id for relative positioning
var HideTop=0; // Hide first level when loading new document 1 or 0
var MenuWrap=1; // enables/ disables menu wrap 1 or 0
var RightToLeft=0; // enables/ disables right to left unfold 1 or 0
var Unfoldsonclick=0; // Level 1 unfolds onclick/ onmouseover
var WebMasterCheck=0; // menu tree checking on or off 1 or 0
var ShowArrow=1; // Uses arrow gifs when 1
var KeepHilite=1; // Keep selected path highligthed
var Arrws=['tri.gif',5,10,'tridown.gif',10,5,'trileft.gif',5,10]; // Arrow source, width and height

function BeforeStart(){return}
function AfterBuild(){return}
function BeforeFirstOpen(){return}
function AfterCloseAll(){return}


// Menu tree
// MenuX=new Array(Text to show, Link, background image (optional), number of sub elements, height, width);
// For rollover images set "Text to show" to:  "rollover:Image1.jpg:Image2.jpg"

Menu1=new Array("Home","tot2.htm","",0,20,138);

Menu2=new Array("About us","about_us.htm","myframetwo.html",0,20,138);

Menu3=new Array("Search Engines","blank.htm","",3);
Menu3_1=new Array("Altavista","http://www.altavista.com","",0,20,150);
Menu3_2=new Array("Google","http://www.google.com","",0);
Menu3_3=new Array("Yahoo","http://www.yahoo.com","",0);

Menu4=new Array("Webmaster","blank.htm","",4);
Menu4_1=new Array("Dynamic Drive","http://www.dynamicdrive.com","",0,20,180);
Menu4_2=new Array("Javascript Kit","http://www.javascriptkit.com","",0);
Menu4_3=new Array("Freewarejava","http://www.freewarejava.com","",0);
Menu4_4=new Array("Web Review","http://www.webreview.com","",0);

Menu5=new Array("Other","java script:top.location.href='blank.htm'","",1);
Menu5_1=new Array("Author's Site","http://www.burmees.nl/","",0,20,140);

#4
Erwin

Erwin

    Member

  • Grup: Members
  • Posts: 851
  • Înscris: 13.09.2003
Care este numele frameului in care vrei sa se deschida?

#5
pirannia

pirannia

    Member

  • Grup: Members
  • Posts: 437
  • Înscris: 25.07.2003
merge shi cu onclick (dar pui link-ul la #), merge si cu target, vezi ca ai gresit cev a la target de nu-ti merge, probabil numele frame-ului

#6
dioSRL

dioSRL

    Junior Member

  • Grup: Members
  • Posts: 37
  • Înscris: 03.10.2002
eu iti recomand sa renunti la frame-uri; au multe neajunsuri, printre care si proasta indexare de catre motoarele de cautare, optimizarea dificila pentru mai multe rezolutii.. compatibilitate mica cross platform etc.

Anunturi

Neurochirurgie minim invazivă Neurochirurgie minim invazivă

"Primum non nocere" este ideea ce a deschis drumul medicinei spre minim invaziv.

Avansul tehnologic extraordinar din ultimele decenii a permis dezvoltarea tuturor domeniilor medicinei. Microscopul operator, neuronavigația, tehnicile anestezice avansate permit intervenții chirurgicale tot mai precise, tot mai sigure. Neurochirurgia minim invazivă, sau prin "gaura cheii", oferă pacienților posibilitatea de a se opera cu riscuri minime, fie ele neurologice, infecțioase, medicale sau estetice.

www.neurohope.ro

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

Forumul Softpedia foloseste "cookies" pentru a imbunatati experienta utilizatorilor Accept
Pentru detalii si optiuni legate de cookies si datele personale, consultati Politica de utilizare cookies si Politica de confidentialitate