Jump to content

username132

Members
  • Posts

    29
  • Joined

  • Last visited

Posts posted by username132

  1. I want to make an image glow with a pulsating yellow glow whilst a melodramatic tune plays in the background. I took this code out of the Flash helpfile and changed all instances of mc_box to "pot" which is the name I gave my object in 'properties'.I put this into action, and it spews out some unintelligible errors.

    pot.filters = [new flash.filters.GlowFilter()];var dir:Number = 1;pot.blur = 10;pot.onEnterFrame = function() {    pot.blur += dir;    if ((pot.blur >= 30) || (pot.blur <= 10)) {        dir *= -1;    }    var filter_array:Array = pot.filters;    filter_array[0].blurX = pot.blur;    filter_array[0].blurY = pot.blur;    pot.filters = filter_array;};

    Errors;**Error** Symbol=Symbol 1, layer=Layer 1, frame=1:Line 1: Statement must appear within on handler pot.filters = [new flash.filters.GlowFilter()];**Error** Symbol=Symbol 1, layer=Layer 1, frame=1:Line 2: Statement must appear within on handler var dir:Number = 1;**Error** Symbol=Symbol 1, layer=Layer 1, frame=1:Line 3: Statement must appear within on handler pot.blur = 10;**Error** Symbol=Symbol 1, layer=Layer 1, frame=1:Line 4: Statement must appear within on handler pot.onEnterFrame = function() {Total ActionScript Errors: 4 Reported Errors: 4What did I do wrong?

  2. I search for a phrase and get back a list of topic with multiple pages, and then I have to search each page (Ctrl + F) individually to find the correct one - would it not be possible to direct me to the correct page(s) or even the correct post(s) with a link to see the rest of the thread? I think Micro-Star International has a forum that does this.

  3. Hi,I think in the lesson's example, I can't replace the image with the one of my choice on the "edit the text and click me" tab which I found a bit odd, or It's me.  This also happend in HTML lessson.Cheers,Oceancolour5.

    You probably can replace the images. You just need to do it with pictures that are available online as opposed to on your PC harddrive (the contents of your HD are not easily available to everyone online, as you'd probably want).Try replacing the image with one available online such as
    http://username132.tasminslair.com/live/images/seans_potato_business_logo.png

    and you'll see what I mean :)

  4. I tried margin-left again and it's fixed it in Opera and Firefox, but I.E. ignores the margin-left completely, regardless of value. Should I use a transparent gif to push the text into line?#random_quote {color: #9a6f20;font-weight: 900;font-style: italic;float: right;position: absolute; top: 15px; right: 20px;margin-left: 250px;

  5. Here are two images; one of what I have and the other of what I'm trying to acheive. http://username132.tasminslair.com/wrong.jpg http://username132.tasminslair.com/right.jpg You'll notice that right.jpg shows the text at the top, wrapped according to a distance from the left that I wish to provide. The problem arises because I use a random quote script to insert a random quote at the top of the page, but it's sometimes so long that it goes behind the logo. I've tried padding-left and margin-left but neither work. My code is currently (wrong.jpg); #random_quote { color: #9a6f20; font-weight: 900; font-style: italic; float: right; position: absolute; top: 15px; right: 20px; } If you go to http://username132.tasminslair.com/Seans%2...0Website/pages/ you can see an alternative with; #random_quote { color: #9a6f20; font-weight: 900; font-style: italic; position: absolute; left: 250px; top: 15px; right: 20px; } but this isn't really much use because it look much better when it is aligned to the right. Text-align: right is no good, because then the text after the line-wrap is also aligned right (like your address at the top of a letter).

  6. Thanks for the advice. Don't get me wrong, I like the bar, I just wondered why it was there. However I want the bar to link all the menu items together without appearing from the left or right ends of the menu i.e. I want;item==item==itemas opposed to;===item==item==item==I've tried changing position: relative; left: but it doesn't do anything. Currently,http://username132.tasminslair.com/Seans%2...es/products.php uses;#primary_nav {background: #e3c49c;font-size: 80%;position: relative; top: 70px; left 9000 px;/* margin-left: 175px; *//* float: right; *//* height: 25px; */z-index: 3;}and the bar wont budge?

  7. Here are links to two pages differing only in one line of CSS. Please view in Firefox/Opera (IE can wait). There are spaces in the URL. This doesn't matter.http://username132.tasminslair.com/Seans%2...es/products.phphttp://username132.tasminslair.com/Seans%2...es/products.phpFor website one;#primary_nav {background: #e3c49c;font-size: 80%;position: relative; top: 70px;margin-left: 175px;/* float: right; *//* height: 25px; */z-index: 3;}For website two;#primary_nav {background: #e3c49c;font-size: 80%;position: relative; top: 70px;margin-left: 200px;/* float: right; *//* height: 25px; */z-index: 3;}Firstly, what IS the bar that occurs behind the menu items? Why aren't there just menu items floating with no bar behind?Secondly, in website two, the bar is moved to the right a bit more as expected. What is not expected is that the bar widens and the menu options are thrown about the place. What causes things like this to happen? CSS really does feel like a descent into maddness!!The rest of the CSS

  8. My problem is that if I change a stylesheet slighlty and upload it, then refresh, the browser sometimes ignores the changes I've made. I don't get it. If I do something big like "display: none;", it sits up and pays attention. What really gets me is that it must look at the new stylesheet to see how different it is, and then decides to ignore the changes. It's REALLY annoying.For example, I change margin-left: 100px; to margin-left: 200px; and nothing happened. I change it to margin-left: 2000px; and it rushes of the page. I p****** me off beyond articulation.My browsers are set to reload as frequently as possible (e.g. Firefox "reload every time I view a page" [which isn't the same as "reload everytime I hit refresh" (which annoys me greatly)]). What's even more annoying is that if I refresh with one browser, make a change, refresh with the same browser and it ignores my changes, refresh with a separate browser, it shows the page in the same state as the first browser! They're conspiring against me!

  9. I'm responsible for our college JCR website @ www.dur.ac.uk/stephenson.jcr (don't worry, my intended career path is biomedical...) and I was hoping I could find out how much it's constituent pages are actually used, and maybe where the hits are coming from (i.e in the area = GS students, outside the area = prospective students). Can anyone advise?

  10. One way would be to make images in a program like Photoshop or GIMP, with transparent background, and use <img> and <map>. That would lock it in place...

    Yeah I think you're right.Have you any idea what I need to do to resolve the IE menu background issue though? I've uploaded the stephenson.jcr version to another location so you can access the site and css via;http://username.tasminslair.com/website/pages/jcr.php&http://username.tasminslair.com/website/stylesheets/all.css&http://username.tasminslair.com/website/st.../iespecific.css
  11. Damn. This is ridiculous! How am I supposed to position things properly if every browser interprets my instructions differently?! It looks fine in firefox, but in opera the submenus are positioned higher than I specified :)Judging by the differences between opera and firefox, the problem has something to do with;firefox receives the "clear: both" command and moves the footer DOWN out of the way of the submenus;opera receives the "clear: both" command and moves the submenus UP out of the way of the footer.It'd be enough to drive me insane, if I wasn't already!Thanks for your help.

  12. I don't have time to look at your code as it is now, but I thought I should tell you one thing. I see you're against IE as a browser, and I fully support you, but, if you are making a website for a university, I don't think you should have a banner for StopIE on there. I don't know, it just seems a bit unprofessional. A university shouldn't involve in what could be seen as petty arguing over browsers. A button like that would be more in place on a private website...
    I understand what you're saying. I figured it was a good way to inform people who ordinarily wouldn't think about it (I don't have a personal website). Technically, it's only a JCR website. A small part of the university that's soley made up of the constituent students of one college. Do you think, if I just used a smaller banner, would that be okay?
    Oh, and maybe go for a little more subtle validation buttons, as I feel your current buttons are crashing a bit with your attempted design. One could go so far as to call them tacky. I never liked the official w3 buttons...http://w3schools.invisionzone.com/index.ph...findpost&p=1122Try one of those, like the red ones. That would look good...

    Yeah, I like http://www.colpidimouse.it/public/ico_xhtml.gif - is there a CSS analogue? My only concern is the value of the client uploading the banner each time from the W3C servers - doesn't the W3C want information from this for some reason?
  13. In order to prevent the footer on my website from crashing into the submenu on the left hand side, I had to change to float positioning (and clear: both) instead of absolute positioning. Although that works fine in firefox, in IE the submenus stop changing their background colour when selected, even though they still change the text colour. This leads to text on the same colour background which is of course undesirable.Compare the functional http://www.dur.ac.uk/stephenson.jcr (no float and therefore the footer crashes into the menus) with the slightly-less-functional http://username132.tasminslair.com/website3/pages/ (with float so crashing footer problem avoided) in Internet Explorer. Both versions appear fine in Firefox, with respect to this particular issue.When a menu item is selected, the CSS at http://dur.ac.uk/stephenson.jcr/public_htm...esheets/all.css (and http://dur.ac.uk/stephenson.jcr/public_htm...iespecific.css) vs http://username132.tasminslair.com/website...esheets/all.css (and http://username132.tasminslair.com/website...iespecific.css) is responsible for changing the colours of a few features of a the selected menu item. This CSS is located at the end of the "all.css" files. The iespecific.css files just detail some minor alterations in the positioning since IE positions things slighlty differently.Remember: the two versions of the website differ only in the values of some of the attributes under the #secondary_nav and #tertiary_nav. Something about changing to float has messed things up.Any help would be appreciated (I'm so close to "finishing")!Post edited to correct URLs

  14. I've created a minimal test case to enable someone better at CSS than I am, to more easily see what's going on.Page;http://username132.tasminslair.com/min_tes...ges/welcome.phpCSS;http://username132.tasminslair.com/min_tes...esheets/all.cssMenus;http://username132.tasminslair.com/min_test_case/menus (there are three involved).The problems are;a) primary_nav is squashed over to the left in IE, considering it is supposed to have a min-width or width of 85% - removing the home_image CSS causes it to shoot into the middle fo the page, although it doesn't actually get any wider:) secondary_nav and tertiary_nav (the submenus on the left) are really wide in IE despite width: 25px; specificationc) secondary_nav and tertiary_nav are displaced about 80px to the right in IE and Opera, despite their absolute positioning(Website looks fine in Netscape and Firefox (at least in regard to these issues).Thanks for any help or general advice offered.

  15. The website is looking better in internet explorer and opera now that I've changed some positioning to absolute, but now I'm back with my old problem again since clear: left can no longer be used (it is used but isn't effective because the float of the submenus is trodden on by the absolute positioning).Is there anything else I can use?

  16. Do you use that color for other things on the page? It gives warnings if it thinks text will end up on a background the same colour...Otherwise, I usep {background: #00ff00;}See if that gives the same feedback.Also, be aware that a warning from the validator isn't necessarily an error. You can still have warnings and valid code.

×
×
  • Create New...