Jump to content

LittleSam

Members
  • Posts

    23
  • Joined

  • Last visited

Everything posted by LittleSam

  1. SEO folks widely agree that the signals that influence a page's rankings include:Keywords in the title tag. Keywords in links pointing to the page. Keywords appearing in visible text. Link popularity. (PageRank for Google) of the page. Keywords in Heading Tag H1,H2 and H3 Tags in webpage. Linking from one page to inner pages. Placing punch line at the top of page. Source: http://en.wikipedia.org/wiki/Search_engine_optimizationIn the sites I've done, SEO emphasis is on (as you mention) document titles, keyword and content metas.
  2. ImageReady. Comes with Photoshop. Looking for freeware?
  3. If I understand your problem...What really launches excel lives on the user's system. If the system doesn't recognize excel extensions, nothing will happen. If the browser says "hey I know excel extensions", then it will launch excel embedded within the browser.At that point, the file is already done. Any XML + Stylesheet to create an excel file has to be done, basically (which Java or VB would do). Nothing JS can do for you because your response type isn't HTML ot text/html.
  4. Hello.Hard to help without an example. Post your code for more assistance.Are you using the build in JS escape() method?
  5. I've been a web developer for ten years. When I got my first full-time gig, I was a "designer". What got the job for me was not my skills in html and JS, which were hardly proven at the time, but 1) artistic ability and 2) proven ability to learn.I thought I knew it all. I would have claimed that I knew 90% of html (CSS was hardly around at the time).I have since learned - even as recently as today - that whenever I think I have it all down, I have room to grow.As for what you should study, answer this: what to you want to do?Do you want to make websites pretty? Learn photoshop. Don't think that learning it will make you an artist, though.Do you want to make websites that do amazing stuff? Learn JavaScript and look in to learning JSP or PHP, maybe even AJAX.Want to make websites that are usable and intuitive? Study usability.Don't get hung up on learning one thing and thinking you'll do that when you're done learning. Things change. I've wasted lots of time on learning the "big thing" and missed lots of opportunities to get on board with the next thing.In addition to all of your studying, DO stuff. Make websites for yourself, for your family, friends, local businesses... make it happen. I learn more every day by DOING than by INPUTTING.Best wishes.
  6. Questions of distaste for frames aside, you need to add a border parameter to your frameset:<frameset style="margin: 0;padding: 0;" frameborder="0" border="0" rows="50%,50%"> Hooray for consistency, Microsoft!
  7. Well, one thing you could do is to go ahead and put a placeholder image there in your source and give it an ID. When you mouseover your smaller image, you call a method that - instead of modifying what was moused over, modifies the other image's "src" property.Or, you could but a <div> down there with an ID and when you mouse-over, instead of changing your image sources, change the innerHTML property of the div to be a new image.It sounds like you may be trying to set up a photo gallery of sorts? If so, google for "Javascript Photo Gallery" or go here for one.Chances are, if you're trying to do something, it's been done already. I appreciate understanding what's going on, but there's no crime or sin in borrowing what already works and THEN figuring it out.
  8. If you ask me to interpret, then my original recommendation is exactly what this means. They were sparse about what the form fields would be exactly, so begin by anticipating that you have to validate that fields are at least not blank or not all spaces if indicated that they are required... or if no indication of required is given, then assume that ALL fields are required. Hope that helps.
  9. Not exactly sure what's causing this because so much of your source is called or written dynamically. That, in part, may be the problem.I did notice that you do have some errors in your css. Start by addressing those:p { font-size: smaller:}end with ";".gwt-TabBar .gwt-TabBarItem {...cursor: hand;...}No such animal.sc-ReportTableHeader {... border: 0px 0px 1px 0px solid #AAAAAA; border-bottom: 1px solid #AAAAAA;}.sc-LabelHeader { font-size: normal; font-weight: bold;}no such animal
  10. Is there someone other than a judge - perhaps an avdisor or a cohort who have been through this competition before who could give advice?Otherwise, can you post the rubric? It might be clearer to a fresh pair of eyes.
  11. Had I to guess, I believe that this means that you're checking that the values people are entering are valid before the form submits.For example: if you have a form element for "e-mail" address, one would suppose that you're required to validate that the value the user enters is in e-mail format, like "sam@somedomain.com" and not in invalid format like "1ejkwno.23!", which is clearly not an e-mail address.Are you permitted to ask the judges what this means?
  12. Certifications for what, exactly?
  13. The text inside doesn't know how big the area it's filling is going to be. It's just there for the ride. So that can't drive how big the window is...Best you can do is to imbed a window.resizeTo() method in your source for every page that you're opening in your popup. You may have to fiddle with it manually and you'll probably have to have different values for every page.You can't over-ride what people are doing to block popups. If you're told "there has to be a way", then remind your boss or whomever that if it were so, then every advertiser in the world would still be popping up garbage on your screen. What you CAN do is put your text into an element (like a <div>) that only shows up when you want it to. Good thing about a div too is that you can set its height parameters or width parameters with css and JS.
  14. Why is this impractical? Cost? Time? If all you need is a true HTTP response, Download Apache HTTP server and install it for free.Assuming you do a default install of the latest version, put your files in the "htdocs" folder of the install directory (C:\Program Files\Apache Software Foundation\Apache2.2\htdocs), start the server, and make your request to http://localhost:8080/yourfile.xml.If I've understood your problem right, I think that will work for you.
  15. Are you looking for a tool to do this for you or are you just wondering how it works? If you're looking for a tool, best to google for "Web Slideshow Generator". Picasa may be able to do this...If you just want to know how it works, grab the source of the page and step through to figure out what it's doing. All of their methods seem to be here: http://www.wwe.com/js/photogallery.js It's a little convoluted, but it works.
  16. This is part script, part HTML, I think.Make a small change to your script: page = window.open("","framecontainer"); This second argument for the open() method gives your popped-up window a name value.Now, in whatever link you have that says "CLICK HERE TO VIEW...", add a target attribute: <a href="[your url]" target="framecontainer">CLICK HERE</a> You may already have this attribute. If it says "_blank" or has a value that doesn't correspond to the name of an existing window, that's why your link is opening up in a new window.Let me know how that works out. If it doesn't solve this for you, post the code for your top frame.
  17. I don't think that this is the particular line that's failing. Creating a new attribute for an existing object (Window or Top) and giving it a value isn't necessarily illegal: <html><head><title>Security test</title><script type="text/javascript">function doOnload() { top.newProperty = new Object();}</script></head><body onload="doOnload()">This tests adding a property to an existing object, top.</body></html> The "Uncaught exception" means you tried to do something that's illegal for a browser to do. There aren't many things that will do that. One of the most common is trying to access anything in another window where the location isn't on the same domain.The problem might be easier to solve if you post your code.That being said, you can use a try/catch block to catch the error, then deal with it accordingly.You can see a w3schools.com example here.Let me know how that works out.
  18. LittleSam

    java script

    Hi Anil. If you're looking for books to use as a reference, the books that O'Reilly sells are pretty good, like the Rhino book. They also have a learning series, I think.WROX publications are pretty good. The materials are straightforward, and the end-of-chapter problems are a good challenge.Whatever you get, a good DOM reference is a must. But one of the best DOM references is on w3schools's site.Previous poster has a point... the best way to learn is online, and to learn by doing.
  19. There are a lot of ways off doing what you're trying to do here.You need a method or something that changes the width and height attributes of your image to something else (when invoked by the mouseover). You call that method (or inline script) with the onmouseover attribute of the <img> element.Here is a script that does something similar to what you're doing: If you want your images to get smaller when your mouse leaves the image, you'll need to call another method for "onmouseout". You could potentially change the "makeBigger()" method to "changeSize()" where you also pass in your new width and height parameters as arguments.I hope this gets you closer to what you want. Let me know if you have questions.Now, as a matter of technique, I have two asides to your initial problem:First, there's a lot of repetition in your code. Practice re-using variables that are identical and create methods to do repeat work (like writing your images).Second, your if() within nested while() conditionals are unnecessary. You could just say "while image 2 is image 1, change image 2" - you can assume that if they're not the same, no work will be done. Example:
  20. Your problem is in your window.open statement. The second argument, the name of the new window, shouldn't have spaces.Try: "Terms_and_Conditions"
  21. Your problems are in these lines:You're passing your changeSource method a string encapsulated in double quotes, but remember that your href is in double quotes too. Encapsulate your argument in single quotes:<li><a href="java script:changeSource('frame_a.htm');">PA</a></li>You should be golden after that![sorry for multipe modified posts... wasn't aware that the forum added a space to "javascript"]
×
×
  • Create New...