JZL003
-
Posts
5 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Downloads
Gallery
Store
Posts posted by JZL003
-
-
I am trying to make a all purpose framed page with everything i need, all pages that can revert to a larger frame and i have a menu on the side. I wanted a quick way to type in a book name and see the corresponding google books page. I dont even need to replace spaces with %20 as it compensates. I can get the form to store the variable but cant get it into the web address.
P.S. Any cool functions or ideas for things to add to page are appreciated.
-
If anyone can give me a list of any/all functions they know i would be much obligated and could start really getting into coding
-
Looks like your opening <script> tag has issues. All you need is this:
<script type="text/javascript">
No need for the '="javascript"' part.
(Welcome to the forum! )
thanks
-
I am puttng this code:<html>
<head>
</head>
<body>
<script="javascript" type="text/javascript">
if (4<5){
document.write("nice job!");
}
else{
document.write("Ohhh.Sorry");
}
</script>
</body>
</html>
down and it displays it like its a text. What did i type wrong??(sorry if this is basic but i am just 12 years old and trying to learn)
put a variable in a web address
in Beginners Web Design
Posted
sorry my php is very rusty. i dont understand how that helps. Could in javascript use this script:
var searchentry=harry potter
var webaddress="http://www.google.com/search?q="+searchentry+"&btnG=Search+Books&tbm=bks&tbo=1&qscrl=1"
<a href=webaddress>
or something similar