Jump to content

kate_rose

Members
  • Posts

    121
  • Joined

  • Last visited

Everything posted by kate_rose

  1. I noticed the shortcut & tried it but I got the same result. More suggestions? Kate
  2. From what I read the way to start it is just to go to the little speedometer icon and select "Start all services". Is that right?? I am pretty sure I have the right version because I am running Windows XP and installed Wampserver 2.0. I also saw somewhere that I would need to go into the c:\wamp folder find the exe file & click on it but that was for Wamp5. My wamp folder does not contain a wamp.exe file. I just figured it was in another location in the 2.0 version. Good thought though. I wish it was as simple as just flipping the switch. Any other ideas??? Kate
  3. Hi, I have been reading about mysql & php a lot & I finally have my database built in excel. I need to be able to test out some of the php script I am writing. I am trying to install wampserver 2.0 & can't seem to get the welcome page when I go to http://localhost in my browser (firefox). I had previously installed WAMP5 & I deleted it before I installed wampserver 2.0. When I ran into trouble I saw a suggestion to uninstall in the control panel so I did that. Oddly there was still a C:\wamp folder with some stuff in it so I deleted it. Now I have now reinstalled wampserver 2.0 & still can't get to the welcome page. What am I doing wrong? Should I be using a different version of wamp? Any suggestions would be great. Thanks, Kate ???
  4. I have reinstalled dreamweaver and double checked everything I could but I am still getting the error. Any advice would be most welcome. What type of syntax error could do this. Please Help!
  5. Now I am really stumped ??? When I am in dreamweaver & I ask the original file which just has the arrow rollover displayed in it it does a fine job. So I copied and re-replaced all of the code. No change except I noticed some code behind the design when I display it in the browser. I can sort of see what is happening but I have no idea how to fix it. Somehow part of the javascript code in the head section is being displayed behind the design when I ask it to preview in the browser. Specifically it is this bit I have put in bold below function MM_findObj(n, d) { //v4.01 var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[n]; for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers.document); if(!x && d.getElementById) x=d.getElementById(n); return x; } function MM_swapImage() { //v3.0 var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3) if ((x=MM_findObj(a))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];} } function MM_swapImgRestore() { //v3.0 var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a)&&x.oSrc;i++) x.src=x.oSrc; } function MM_preloadImages() { //v3.0 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array(); var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++) if (a.indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a;}} } The bolded part seems to come before any of my other text content and then at the end a bit is repeated this is the part that is underlined in the bold section. I have had dreamweaver quit on me a couple of times with weird errors maybe I need to reinstall it on the computer??? I am pretty new at this but this seems like a really weird bug to come from a coding error. Does this make any sense at all??? Kate
  6. PQ, I am not using a server at all its all just on my computer. I will go back and double check the original code before I pasted it into the page and see if there are any differences though. Since I am sort of new I am not sure how to interpret that error message . . . Do you know?? Back in a few to report on the double check. Kate
  7. Ok . . . Here is what I have done. I created a rollover in fireworks and exported it to dreamweaver. When I preview it in the browser it works just fine. Then I copied the code into the div in the web page I am working on. The only things I really had to change where the image source locations. In the web page the rollover is not working. However the non rolled over image does appear just fine. It is the 2 preloaded images that should appear when the mouse hovers over them that aren't showing up so that is why I thought it was a preload problem. So the only other things I can imagine would be changing it are the following. I do have some css styling on the body as follows body { background-color:#333; margin: 0; padding: 0; } I guess it could also be something about the div containing the rollover (see below) #main_navigation_arrowmain{ overflow: hidden; position: absolute; top: 32px; left: 31px; margin: 0px; padding: 0px; border: 0px; background-image:none; height: 18px; font-size:1px; width: 32px; z-index: 28; } Finally it could be in the javascript after the preload which is supposed to display the rollover (see below) <div id="main_navigation_arrowmain"> <!-------------------------------------------------------> <!------------Yellow Arrow Rollover---------------------> <!-------------------------------------------------------> <table border="0" cellpadding="0" cellspacing="0" width="32"> <!-- fwtable fwsrc="yellow_arrow_rollover.png" fwbase="yellow_arrow_rollover.gif" fwstyle="Dreamweaver" fwdocid = "927909415" fwnested="0" --> <tr> <td><img src="image/spacer.gif" width="16" height="1" border="0" alt="" /></td> <td><img src="image/spacer.gif" width="16" height="1" border="0" alt="" /></td> <td><img src="image/spacer.gif" width="1" height="1" border="0" alt="" /></td> </tr> <tr> <td><a href="javascript:;" onmouseout="MM_swapImgRestore();" onmouseover="MM_swapImage('yellow_arrow_rollover_r1_c2','','yellow_arrow_rollover_r1_c2_f3.gif',1);"><img name="yellow_arrow_rollover_r1_c1" src="image/Arrows/yellow_arrow_rollover/yellow_arrow_rollover_r1_c1.gif" width="16" height="17" border="0" id="yellow_arrow_rollover_r1_c1" alt="" /></a></td> <td><a href="javascript:;" onmouseout="MM_swapImgRestore();" onmouseover="MM_swapImage('yellow_arrow_rollover_r1_c1','','yellow_arrow_rollover_r1_c1_f2.gif',1);"><img name="yellow_arrow_rollover_r1_c2" src="image/Arrows/yellow_arrow_rollover/yellow_arrow_rollover_r1_c2.gif" width="16" height="17" border="0" id="yellow_arrow_rollover_r1_c2" alt="" /></a></td> <td><img src="image/spacer.gif" width="1" height="17" border="0" alt="" /></td> </tr> </table> </div> Maybe it could be in the preload function itself which is in the head of the document. . . (see below) <script language="JavaScript1.2" type="text/javascript"> window.resizeTo(760, 600); function MM_findObj(n, d) { //v4.01 var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[n]; for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers.document); if(!x && d.getElementById) x=d.getElementById(n); return x; } function MM_swapImage() { //v3.0 var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3) if ((x=MM_findObj(a))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];} } function MM_swapImgRestore() { //v3.0 var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a)&&x.oSrc;i++) x.src=x.oSrc; } function MM_preloadImages() { //v3.0 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array(); var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++) if (a.indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a;}} } </script> I don't see the problem but it must be in there somewhere. Thanks again, Kate Normally I use CSS created rollovers but this one was too complex so I am using JS (thus my confusion - Oh yeah & the fact that I am a newbie)
  8. I have a really basic question. I am having trouble getting my gif files for a javascript rollover to load (at least I think that is what the problem is). Anyway here is the code <body onload="MM_preloadImages('image/Arrows/yellow_arrow_rollover/yellow_arrow_rollover_r1_c2_f3.gif','image/Arrows/yellow_arrow_rollover/yellow_arrow_rollover_r1_c1_f2.gif');"> The gif files are in a folder called yellow_arrow_rollover which is in the Arrows folder in my image(s) folder. The image folder is in the same folder as the html file I am working on. All this is still just on my computer. None of it has been uploaded to a server. Thanks, Kate
  9. I have just been so impressed with the ease of rollovers with the use of the hover command in CSS, I was just wondering if there was a way to make the hover command change the content of another div (other than that being hovered over). If not I can certainly do it with Javascript if you think it would be easier. Thanks, Kate
  10. Thanks everybody I think I got it now. I don't know how to mark this as solved though.
  11. Well you got the question from the subject line... I know I can do it in javascript with hotspots but was hoping for a more elegant solution. Thanks, Kate
  12. First of all I am still a newbie but I don't quite get your question. Are you talking about using a regular table like from the old html? K
  13. Thanks Bronze, I am still working on getting the code right. So every time I make a class if I have more than one character that I want to alter (i.e. both a:link & a:visited) I have to have a separate statement for each of them or does this only happen when dealing with links? So if I wanted to define a class that had red text that was in a certain font I could type this? .text_class {color:#000000}, .text_class {font-family:"Times New Roman", Times, serif,} OR could I do it like this? .text_class {color:#000000; font-family:"Times New Roman", Times, serif,} I am trying to make a really informal notebook style website. The links will look like they have been underlined with a pen or pencil so the lines under the links will be at slightly different angles, thicknesses etc. but are really all part of 1 "style". I thought of putting the styles in an array and having them called randomly but I am not sure I am up to that yet & some underlines look funny on some words so I don't want it to be totally random. I appreciate your help & patience. Kate
  14. Hi, I am trying to create different underline styles for links. I need a bunch of them (I have 13 so far). From what I have read the easiest thing to do is to put the underline in the background. I have accomplished this. However when I define multiple classes only the last one defined seems to show up no matter what style I specify. Can anyone tell me what I am doing wrong?? I am still on the steep part of the learning curve so I am just trying to get this to work in a practice file before I apply it to my web page. So eventually the css will go in a different file. I have included some of my code below. <head> <style type="text/css"> a {text-decoration:none; color:#000000; font-family:"Times New Roman", Times, serif,} a:hover {text-decoration:none; color:#000000; background-position: -500px;} .blue_link_style1 a:link, a:visited, a:active {color:#000000;text-decoration:none; background:url(image/link_style_1.gif) no-repeat left bottom} .blue_link_style2 a:link, a:visited, a:active {color:#000000; text-decoration:none; background:url(image/link_style_2.gif) no-repeat left bottom} </style> </head> <body> <a name="abaxial" id="abaxial"></a> <p class="blue_link_style1"> <strong>ab•ax•i•al</strong> (ăb-ăk׳sē-əl) <i>adj <br /> </i>the side of an organ situated away from the <a href="#axis">axis</a> (<i>i.e.</i> the bottom surface of a leaf)<br /> (<i>syn</i> anterior, ventral, lower) </p> </body> </html> So the "axis" link above is always styled by the blue_link_style2 even though I asked it to use blue_link_style1. I tried putting it all on the same line in case that made a difference (I know it shouldn't) I also tried defining the style using a p class but that made no difference. Thanks for any help you can offer. Kate
  15. OK lets see how I can explain this. I don't have an web based link that you can go to because I am not to the stage yet where I have learned how to do that bit so I will try to give a quick example here This is a chunk of the code from the glossary. Basically if you looked at this page it would just display a long list of terms & definitions in alphabetical order [<body> <a name="abaxial" id="abaxial"></a> <p class="style2"><strong>ab•ax•i•al</strong> (ăb-ăk׳sē-əl) <i>adj</i></br the side of an organ situated away from the <a href="#axis">axis</a><br /> (<i>i.e.</i> the bottom surface of a leaf) <br /> (<i>syn</i> anterior, ventral, lower) </p> <br /> <a name="abscission" id="abscission"></a><br /> <p class="style2"><strong>ab•scis•sion</strong> (ăb-sĭzh׳ən) <i>n</i> <br /> the normal shedding from a plant of an organ that is mature or aged<br /> (<em>i.e.</em> a ripe fruit or an old leaf) (<i>v</i> abcise) </p> <br /> etc. etc. (I am having trouble getting this code to display correctly - I am not sure how to get it to just display the code text without interpreting any of the html) Here is a screenshot of what my current layout looks like You can see that there are 3 content areas. What I am currently doing is causing my glossary definition page to display in the lower right hand frame. In frames the content will not spill out so I am navigating to different definitions in the glossary page with links & anchors all in that page. I wanted to KIS so I don't have a billion different files each with a seperate definition in it. Maybe I can't do this sort of simple navigation in php & css without having overflow. It seems like I should be able to though. I am sort of using dreamweaver as a jumping off point. It will say create a menu for me & then I go look at the code to see how it was done. I can then modify it a bunch. I guess you could say I am learning the language of html & css that way partially. Also through a bunch of reading (So far just online but I have some books coming in the mail). Dreamweaver seems to do things the hard way in a lot of cases so I often end up looking for a simpler/neater way to do it (was it developed by Microsoft? ) Any thoughts. I know this is probably a really basic question and may have to do with the fact that I don't totally grasp the possibilites of php & css but I could use help. Thanks, Kate
  16. I tried to reply here but somehow it became a new topic???? I guess you can't change the subject on this forum without it doing that. Anyway the new topic is better explanation.
  17. Hey I think I need to explain more fully what I am trying to do. I have a web page with a whole bunch of definitions on it for a glossary. Each definition has an anchor and since sometimes there are words in the definitions which themselves need defining (I try to avoid this but can't do it all the time) there are links inside the definitions too. I currently have this page as a small part of a larger project which I have organized using frames. So currently when a link is clicked it just goes to a different location on the same page but only the 1 definition shows up at a time in the small frame. I am trying to convert to a CSS layout but unlike frames, CSS boxes will overflow. My thought was that I would set all the definition displays to hidden except that of the definition I wanted to show up in the box. So when a link was clicked the name would load into a php variable and then everything that didn't have an anchor of that name would be hidden. Since I am so new to PHP and have only really coded in Basic and some weird sound analysis system. I don't know another way to do this. Initially of course I thought of the GOTO command which would allow me to skip over sections of code so that the definitions wouldn't be displayed but from what I have read PHP doesn't do this. I would rather not put the definitions all into seperate files but I guess I could. I am probably reinventing the wheel to some extent. Can someone throw me an example I could chew on a bit to help me figure this out. Thanks again, Kate
  18. Sort of but the link is to an internal anchor within the page. So I guess what I really want is the anchor name which is the same word/name as the link that you click on. Sorry if I wasn't clear at first
  19. Hi, Is there a php function which allows me to load the name of the link into a variable when the link is clicked on? I am new at this but I have looked for quite a while & have not found a way to do it. I know you can get the url that visitors to your site come from but I am not sure how to modify that to get the link name or even if I could. Thanks for any help you can provide. Kate
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.