Jump to content

SmokingMan

Members
  • Posts

    188
  • Joined

  • Last visited

Everything posted by SmokingMan

  1. Well...the first example still didn't work, but the second one does. I don't understand why all of the problems with this page when I use it on other pages with no problem. Oh well I do thank you for your help and patience.
  2. I have removed the apostrophe and tried the "\'" instead, and neither work. I still get the entire URL path instead of the message. Here's a link to the page so you can see the source.
  3. I have a simple script to display the title of the link in the status bar instead of the URL. It's just a cleaner way for people to see where they're linking to. It works on other sites but for some reason not on this particular one. The only real difference is that this site's pages have .php extensions since I use PHP to include a menu.Here's the link code: <a class="gallery-link" href="missy-slideshow.html" onmouseout="return addressMsg('')" onmouseover="return addressMsg('Missy's Slideshow')">here</a> And here's the script: function addressMsg(addrMsg) { window.status = addrMsg; return true;} It should work. Is there something I'm missing here? I've looked at it for so long now I'm going cross-eyed
  4. I am currently using a pure CSS menu that works fine in FF & Opera, but it has glitches in IE (imagine that). I thought that using a JS menu would help since it should work cross-platform. I've been told the menu looks okay in IE and that most people probably wouldn't even notice, but I do and I want it to work the same no matter what browser is being used. I know I'm being picky, but I don't think having a menu act the same no matter what browser is being used is too much to ask. Are you listening Bill?!
  5. 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
  6. 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.
  7. You might want to start here.
  8. 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
  9. 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.
  10. 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
  11. 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
  12. 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.
  13. 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.
  14. 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.
  15. 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.
  16. 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.
  17. I thought I was old at 50+, but I don't feel so old now Happy birthday!
  18. 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.
  19. 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.
  20. 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.
  21. 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.
  22. 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.
  23. 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?
  24. 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.
  25. 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?
×
×
  • Create New...