Jump to content


  • Posts

  • Joined

  • Last visited

Everything posted by SmokingMan

  1. I got the scripts from Prather ProductionsI tried copying the files, but the entire files are so large because they contain several menus, it won't all fit in one post. It cut the post off short of the end of it. If I post a partial script, it may not be everything you need. I'd attach text files, but that option isn't available. I guess I'll have to keep looking for a good JS menu tutorial and write it myself. That's what I would rather do, but I'm not that well versed in JS yet, and can't do it from scratch without some help.If someone can point me to a good tutorial that not just shows me the code for the menu, but actually explains what the code does, I'd just do this myself
  2. I downloaded a menu script that the author has said anyone was free to use and modify for their site. Now I'm no JS guru, but although I do have a little understanding of JS, this script is beyond me, and there is no documentation as to what one would need to modify to customize it for their site. There is no explanation of all of the parameters.So I'm posting it in hopes that someone will be able to explain it enough so I can understand it. <script type="text/javascript" language="JavaScript1.2"><!--stm_bm(["ivvnair",400,"","blank.gif",0,"","",0,0,0,0,50,1,0,0,""],this);stm_bp("p0",[0,4,0,0,1,4,0,7,100,"",-2,"",-2,90,1,1,"#999999","transparent","",3,0,0,"#ffffff"]);stm_ai("p0i0",[0,"Prather Productions ","","",-1,-1,0,"../../index.html","_self","","","","",0,0,0,"","",0,0,0,0,1,"#ffffff",1,"#ffffff",1,"xp3.gif","xp4.gif",3,3,1,1,"#cccccc","#9690a8","#333333","#000000","bold 8pt Arial","bold 8pt Arial",0,0]);stm_aix("p0i1","p0i0",[0,"Services ","","",-1,-1,0,"../../services/index.html","_self","","","","",0,0,0,"arrow_r.gif","arrow_gray.gif",7,7,0,0,1,"#ffffff",1,"#ffffff",1,"xp3.gif","xp4.gif",3,3,1,1,"#cccccc","#999999"]);stm_bp("p1",[1,4,-1,1,1,4,0,0,100,"progid:DXImageTransform.Microsoft.Blinds(bands=8,direction=DOWN,enabled=0,Duration=0.52)",9,"",-2,58,1,1,"#999999","transparent","",3,0,0,"#000000"]);stm_aix("p1i0","p0i0",[0,"Web Hosting ","","",-1,-1,0,"../../services/hosting.html","_self","","","","",0,0,0,"","",0,0,0,0,1,"#ffffff",1,"#ffffff",1,"xp3.gif","xp4.gif",3,3,1,1,"#cccccc","#999999","#000000","#000000","8pt Arial","8pt Arial"]);stm_aix("p1i1","p1i0",[0,"Search Engine Optimization","","",-1,-1,0,"../../services/search_engine.html"]);stm_aix("p1i2","p1i0",[0,"Web Design and Development","","",-1,-1,0,"../../faq/type.asp?iType=26"]);stm_ep();stm_aix("p0i2","p0i1",[0,"Contact ","","",-1,-1,0,"../../contact/index.html","_self","","","","",0,0,0,"","",0,0]);stm_aix("p0i3","p0i1",[0,"Portfolio ","","",-1,-1,0,"../../portfolio/default.asp"]);stm_bpx("p2","p1",[]);stm_aix("p2i0","p1i0",[0,"Graphic Design ","","",-1,-1,0,"../../portfolio/type.asp?iType=30"]);stm_aix("p2i1","p1i0",[0,"Web Design","","",-1,-1,0,"../../portfolio/type.asp?iType=29"]);stm_ep();stm_ep();stm_em();//--> </script>I know the items in red are what I need to change to fit my site and leave the menu configured as is, but how do I add more sub menus, how do I control the width of the menu and the menu items, and how do I control any other of the parameters? What are all the parameters in this script?I'd appreciate any help I can get on this.
  3. You might want to start here.
  4. Watch it!!! I would hate to set a precedent here and have to admit I was actually listening to her. That could only lead to trouble
  5. You may be right. My wife seems to think it's okay, but I know how it works in FF & Opera, and it's not exactly right. And it's driving me NUTS!! I'll soon need a rubber room if I keep fighting with this for much longer.
  6. I'm not sure if the faster connection matters much. I have 768KB DSL and don't have any problems in downloading files. But it's not just the hesitation, but the image swapping while you're hovering over the sub menus. It shouldn't do that.Like I said, I've about reached the end of my patience with this, and am seriously considering using a JS menu, and not pure CSS since IE seems to have a problem with that.On a side note here, but still related, why is it so hard for MS to develop a standards compliant browser, not one that you have to work around just to make things work? It's maddening
  7. Are you using the current beta IE 7? Because I have IE 6 and the menu rollovers do not work correctly. I suppose you need to look at it in FF to see what I mean. I only use IE for testing, I always use FF, and if everyone else did, there would be no problem. But, alas...not everyone has seen the light yet
  8. I thought I'd removed the DTD & <head> section from the included document, but I guess I forgot to upload it But, it's gone now, and...well...the same problems still exist in IE. There's a slight delay for the image change when hovering over the top level links, and they will also change when hovering over any sub menu link. They should only change when they're hovered over, not when you hover over the sub menus. That's how it works in FF anyway.I guess a JS menu may be the only solution here. I've reached my wits end with this.
  9. I have a CSS menu that uses background images instead of just colors. In FF it works just fine, but in IE there is a hesitation once the mouse rolls over the link. And when you are navigating the sub menus, the parent menu image changes every time you roll over a sub menu link. Is there a way around this problem in IE? Here's a link to the site so you can see what I mean.
  10. I've never used a WYSIWYG editor, so I'm not very familiar with FrontPage. I use HTML-Kit for all of my code. But as far as whether or not you need a server, any site that you would want to receive feedback from would need to be hosted on a server of some sort. As far as getting the feedback sent to you, you would either need to use client-side language such as HTML & JavaScript, or use a server side language such as PHP. Some hosting services offer programs such as FormMail as part of their package. You might want to check to see what they may have to offer.
  11. You could set up a simple form to gather the feedback and then have it submitted to an e-mail address when the submit button is clicked. But you want to be sure to set up the attributes correctly in the <form> tag first. <form name="feedback" method="post" enctype="text/plain" action="mailto:youraddress@yourdomain.com?subject="Site Feedback"> Then when the user clicks on the submit button, it will be e-mailed to the address you specify. But this leaves your address open to web bots and can be easily harvested. That's why you may want to look into using a server based solution such as FormMail.
  12. If you're talking about the profiles in the drop down menu (Thor, Bjorn, etc.), they inherit the width of the parent menu item (Sheild Bretheren). If you were to shrink the width of the parent menu (Shield Bretheren), the sub menu of the parent menu would shrink in size accordingly.
  13. I thought I was old at 50+, but I don't feel so old now Happy birthday!
  14. I learned from W3C, a couple of tutorial sites, and books. The rest I've picked up by looking at code, and participating in forums such as this one. As soon as I think I have a good grip on XHTML & CSS, I learn something new. W3C is a very good reference, but you need to round out your knowledge with other resources as well.
  15. Okay, the second head (and I never saw this), is from an external menu file that is inserted by PHP. Since I'm using PHP to insert this menu, don't I still need to have a complete XHTML document since it is a standalone document that is being inserted? I plan to use this same menu on multiple pages, so I'm using PHP to insert it rather than coding the menu on each page.Also, when you hover over the sub-menus in IE, the top level menu backgrounds change each time you move to another sub-menu. This does not happen in FF. That's what driving me nuts.
  16. SmokingMan

    css etiquette

    I try to have all styles on an external sheet, I have very few styles coded into the head section of my pages. That makes any global changes that much easier in the future. Even if at this particular time I don't forsee any changes being made. The download time for a stylesheet is not that much, and more than likely not noticeable to the user. You just don't know what will happen a year or two from now when you may very well want to change the global styles of your site to reflect your index page.
  17. You also have to understand that nothing stands still, especially technology. It will continually advance and change, and like it or not, you need to keep up with it or you'll be left behind. If nothing ever changed, and we weren't forced to adapt, you would still have to get up off of the couch, walk across the room, and physically select one of the three TV channels available. Change is not only good, it's inevetible, and you need to adjust with the rest of us. Like it or not, the only constant in this world is change.
  18. I only see one head section, can you point it out to me?The problem in IE is the delay on mouseover and mouseout. There doesn't seem to be this problem in FF.
  19. I have a CSS menu that I use a background image in. It works fine in FF, but much to my amazement it blows in IE (I'm sure you're all as surprised as I am). Is there a workaround I can use with this, do I just need to use a background color instead of an image, or should I just consider a JavaScript menu instead? Here's a link to the site.Any ideas?
  20. So this would rename my index.html file to index.php? Would that still enable people to access my site? And would that mean all pages would need the .php extension since I want this menu on every page? Would I use this format "<!--#include file="navmenu.html" -->" along with an ".htaccess" file? I'm not clear on what an ".htaccess" file is and where it goes though. I just remember reading that when I was looking into how to do this.I told you I'm out of my league on this. I'm comfortable with CSS & XHTML, but not PHP...yet.
  21. Let me preface this by stating I know nothing about PHP. I have a navigation menu I want to include in every page on my site. Instead of writing the code in every page, I was told I could use PHP to call the file from the .html document I want the menu to be in. So here's the problem.I have the calling document "index.html" calling the seperate menu file "navmenu.html". In "index.html I have the code: <div class="nav"><?php require("navmenu.html"); ?></div> Both files are in the same directory, but the menu does not show up in the "index.html" document. The hosting server does support PHP 5. What am I missing here, why doesn't the menu show up?
  22. I want a CSS menu on each page, the menu will be the same on all pages. Is there a way to link to it and have it as an external file, or do I have to code it into every page?
  23. Excuse me for thinking out loud here, but could it be that since the "nav" element and the "content" element are children of the "main" element, be the reason that when the drop down is activated, it pushes the content down instead of flowing over it?Nevermind, I got the dropdowns going over the content now. All I need to do is still center the menu and get the pop-out for "Shelby>Movies" to pop out to the right spot. It pops out, but it doesn't go where it should. It pops out to the right, but up against the next heading, not straight out to the right like it should.Okay, all is fixed except for the centering of the menu. I don't know if it can be done, but I've managed to fix all of the other issues while still retaining most of my hair. Any suggestions?
  24. Yes, the border attribute has been deprecated. I always use CSS now to remove that lovely blue border.
  25. I have discovered that if you hover over the far left portion of the 1st <h2> in the menu, it does drop down in FF. But none of the other <h2>'s work, and only a portion of the 1st <h2> is active.Hmmm...now I'm really confused.With a little dinking around (yes, that is the technical term), I found that the "nav" element was sitting under the "content" element so the menu was in essence hidden and unable to be activated. By setting the z-index of the "nav" element, that took care of that. But the menu still won't center, and the pop-out under "Shelby>Movies" doesn't pop out to the side, it just drops down. And the drop downs still push down the content instead of just dropping over it.It's getting closer, but there's still a few minor problems.
  • Create New...