Printer Friendly Version
Email this thread to a friend
|
Featured Web Site Template |
|
There are 0 guests and 1 members in the forums right now.
Reflects user activity within the last 5 minutes
|
|
| Member |
Message |
scjvs
Joined: Mar 30, 2005
# Posts: 7
|
Posted: 2005-Apr-01 03:14
I hope this new question will be a little easyier for everyone to understand since I confused myself with my first question about the iframes.
Any way, all I wanted to say is anyone knew how to get
some buttons to open up in a window and some in an iframe.
this is what I have so far....
I had finally figured out how to get my buttons and sub buttons to link to
a iframe (If anyone wants the code please feel free to ask) but I didn't want
all of them to link to the iframe. I wanted a couple to open up into a window also. If anyone knows what I'm talking about, please help me.
Thank You
SCJVS
HERE IS THE CODE I HAVE SO FAR FOR MY EXAMPLEMENU.JS (THIS IS THE BUTTON CODE)
Ifigure I still have to tweak the FIRSTLINEFRAME SECONDLINEFRAME and DOCTYPEFRAME some more....
***********************************************************************************
* (c) Ger Versluis 2000 version 5.411 24 December 2001 (updated Jan 31st, 2003 by Dynamic Drive for Opera7)
* For info write to menus@burmees.nl *
* You may remove all comments for faster loading *
***********************************************************************************/
var NoOffFirstLineMenus=5; // Number of first level items
var LowBgColor='#006666'; // Background color when mouse is not over keep
var LowSubBgColor='#33CC99'; // Background color when mouse is not over on subs keep
var HighBgColor='#33CC99'; // Background color when mouse is over keep
var HighSubBgColor='#99FFCC'; // Background color when mouse is over on subs keep
var FontLowColor='#99FFCC'; // Font color when mouse is not over keep
var FontSubLowColor='black'; // Font color subs when mouse is not over keep
var FontHighColor='black'; // Font color when mouse is over keep
var FontSubHighColor='black'; // Font color subs when mouse is over keep
var BorderColor='#99FFCC'; // Border color
var BorderSubColor='#006666'; // 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=815; // Menu offset x coordinate
var StartLeft=133; // 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='self'; // Frame where first level appears
var SecLineFrame='self'; // Frame where sub levels appear
var DocTargetFrame='myiframe3'; // 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","index.html","",0,20,138);
Menu2=new Array("Faculty","","",7);
Menu2_1=new Array("Big Wigs","http://www.dynamicdrive.com"," ",0,20,180);
Menu2_2=new Array("Financial Aid","http://www.javascriptkit.com"," ",0);
Menu2_3=new Array("Teachers","http://www.freewarejava.com"," ",0);
Menu2_4=new Array("Secretaries","http://www.freewarejava.com"," ",0);
Menu2_5=new Array("Cafeteria Workers","http://www.webreview.com"," ",0);
Menu2_6=new Array("Officers","http://www.webreview.com"," ",0);
Menu2_7=new Array("Janitors","http://www.webreview.com"," ",0);
Menu3=new Array("Calendar","","",3);
Menu3_1=new Array("Votech Calendar 1","votech calendar.html"," ",0,20,140);
Menu3_2=new Array("Votech Calendar2","votech calendar.html"," ",0,20,140);
Menu3_3=new Array("Votech Calendar3","votech calendar.html"," ",0,20,140);
Menu4=new Array("World News","","",2);
Menu4_1=new Array("General","","",5,20,150);
Menu4_1_1=new Array("CNN","http://www.cnn.com"," ",0,20,150);
Menu4_1_2=new Array("ABCNews","http://www.abcnews.com"," ",0);
Menu4_1_3=new Array("MSNBC","http://www.msnbc.com"," ",0);
Menu4_1_4=new Array("CBSNews","http://www.cbsnews.com"," ",0);
Menu4_1_5=new Array("BBCNews","http://news.bbc.co.uk"," ",0);
Menu4_2=new Array("Technology","","",4);
Menu4_2_1=new Array("Tech TV","http://www.techtv.com"," ",0,20,200);
Menu4_2_2=new Array("News.com","http://www.news.com"," ",0);
Menu4_2_3=new Array("TechWeb","http://www.techweb.com"," ",0);
Menu4_2_4=new Array("Wired.com","http://www.wired.com"," ",0);
Menu5=new Array("Search Engines","","",3);
Menu5_1=new Array("Google","http://www.google.com "," ",0,20,150);
Menu5_2=new Array("Yahoo","http://www.yahoo.com"," ",0);
Menu5_3=new Array("Altavista","http://www.altavista.com"," ",0);
|
 |
scjvs
Joined: Mar 30, 2005
# Posts: 7
|
Posted: 2005-Apr-18 17:52
Never mind; I put a set of buttons in an IFrame, and the other set of buttons were put on the actual home page (index.html) itself. Thank you any way peeps.
|
 |
You are not permitted to post messages in this forum or topic, because of one or more of the following reasons:
- You have not yet logged in, or registered properly as a member
- You are a member, but no longer have posting rights.
- This is a private forum, for which you do not have permissions.
If you are a recent member, it's possible that you simply have not yet confirmed your account. Please
check your email for a message entitled 'JimWorld Forums: Confirm Your Account' and follow the instructions
contained within.
If you cannot find this message, click here to Re-Send it.
|
If you are still experiencing problem, please read the
Login Assistance
Article for some advice on what may be causing your login not to work properly.
|
Switch to Advanced Editor and ...
Create a New Topic
or Reply to this Thread
|
|