Jump to content

airesofwar

Members
  • Content Count

    46
  • Joined

  • Last visited

Community Reputation

0 Neutral

About airesofwar

  • Rank
    Newbie
  • Birthday 03/23/1987

Previous Fields

  • Languages
    HTML, CSS, XML (Basic's) , Learning JS

Contact Methods

  • Website URL
    http://www.tweakmyblogger.com
  • ICQ
    0

Profile Information

  • Location
    Jax, FL
  1. I post a lot of videos on my site and for most of them I am able to create a splash screen for with a simple edit in the code. But with myspace players I am unable to figure this out.Here is the code for myspace players. <object width="500px" height="400px" ><param name="allowScriptAccess" value="always"/><param name="allowFullScreen" value="true"/><param name="wmode" value="transparent"/><param name="movie" value="http://mediaservices.myspace.com/services/media/embed.aspx/m=102525731,t=1,mt=video"/><embed src="http://mediaservices.myspace.com/services/media/embed.aspx/m=102525731,t=1,mt=video" width="500" height="400" allowFullScreen="true" type="application/x-shockwave-flash" wmode="transparent" allowScriptAccess="always"></embed></object>
  2. Ahh wait it was a error cause be blogger reformatting the coding. I used this code. <div class='header-outer' onclick="location.href = 'path/to/destination.html'">It changed to this code after saved.<div class='header-outer' onclick='location.href = 'path/to/destination.html''>So I reformatted it to this code.<div class='header-outer' onclick='location.href = "path/to/destination.html"'>Now it works just fine! Thanks for everyone's help!
  3. Alright thanks! It excepted that but its still not working. I know its not a syntax error and it seems to be just Blogger being retarded. I had this same problem with mouseover scripts in the past. Back to the drawing board!
  4. Well that is the problem I am using a Blogger site and its very strict about what can be placed in the <body> section of the template. Wrapping the element in a <a> tag results in a error message and can not be excepted. But I was thinking their might be a way to do it through a JavaScript function by assigning a onclick location to the element in the <head>. But I am a noob with JavaScript so I have not learned how to do something like that.
  5. I am trying to figure out how to assign a link to a HTML element. Example:<div id='header'><!--widget content--></div> How would I make the full header element link to another page.
  6. Oh thanks!The function was a typo.But I see what I did wrong in the variables.
  7. Fair enough how about this!<head><script type="text/javascript">a="Why does"b=" JavaScript"c=" have to be"d=" such a pain!"e="a+b"f="c+d"g="e+f"function txt1(){alert(g);}</script></head><body><p onmouseover="tex1()">MESSAGE</p></body> What is wrong with that and why does it only display g+f when hovering?
  8. Well I learned a great deal from this site with ease, so I don't plan to trade sides once hardships come my way. Also I don't think W3 Schools would like you telling people to go somewhere else in their forums.
  9. Thanks that did clear up some of the confusion and I think I can put it to good use.I have been reading the site but I keep getting to a point to where I don't understand it so I go back over what I read. Maybe I just need to read all the way through it?
  10. Yes I am reading them but cant say I am understanding them. I passed the practice in HTML, CSS, and XML 20 over 20 no problem. Although I don't think those test really cover anything but the basics. But HTML and CSS is really simple, XML I understand but rarely use other then conditional tags. JS is what I am working on now and yet cant seem to get the basics down to start learning it.
  11. Here is the code I am going to use as a example. I think I will just try to explain what I understand or think I understand and you guys correct me and fill me in on what I am missing. <html><head><script type="text/javascript">function selText() { document.getElementById("txt1").select() }</script></head><body><textarea id="txt1">Hello world....</textarea><input type="button" value="Select text" onclick="selText()"></body></html> I am assuming the head code acts as kind of like a CSS rule. selText is the name of the function or event to trigger later on in the body. I am guessing I can use anything I want for this as long as it matches the body code.I still don't have a clue on how to correctly use the ()What goes in the ()?When do I add something in the ()?How do I correctly write something in the()?document.getElementById is a global property to call on the HTML ID. .select() I am guessing this is another global property to activate the select functions. Again we have the ()! onclick="selText() I understand this is just calling for the function. But again what is up with the ()?Now what would be the best way to use this code if I was going to need to call for it multiple times on the same page. Something has to change somewhere or I would be selecting all of them. I know I could just write out a whole new head script for it but I would think their is a easier way to just declare it through variables. What if I wanted to use this to highlight plan text on the site outside of a textarea. I tried using it like this but it did not work.<div id="txt1"> SOME TEXT</div>
  12. I wanted to make a script to hide a element on the page when click. I know how to add your basic button to the content its self to hide it but could I add the script to the element then call for the function outside of the element.Could you give me the script to do this with.
  13. Oh never mind I found another tutorial on the site for the same thing that does work.http://www.w3schools.com/dhtml/tryit.asp?f...rydhtml_noright
  14. I am reading through the tutorials and noticed that this script does not seem to workhttp://www.w3schools.com/js/tryit.asp?filename=tryjs_norightI have JavaScript enabled and I'm using FF with Win7.
  15. That would be the easy route to take but the point of this for me is to learn more in how to use JavaScript. And I am sure at a later date it would come in handy to be able to have a script active on selected page even if the script it readable from all pages. Basically the script has no value to me and im not going to be using it other then something to train off of. So sure I could add it into a post or homepage and be done with it. But that would not give me anything to learn off and build onto. I know that might sound pointless but to me that is how I learn.
×
×
  • Create New...