- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
22 Posted Topics
in HTML you can call CSS [CODE]<head> <link rel="stylesheet" type="text/css" href="style.css" /> </head> <tr><td class="cssHere">Display</td></tr>[/CODE] can you even call CSS in javascript? [CODE]document.writeln("<tr><td class="cssHere">" + Display + "</td></tr>");[/CODE] if so how do you even call the "[B]style.css[/B]" thanks | |
Here's my code (It doesn't work): var c=document.getElementById("myCanvas"); var ctx=c.getContext("2d"); function Shape(){}; Shape.prototype.Circle = function(){ // Some code here }; Shape.prototype.Square = function(){ // Some code here }; MainMenu.prototype = new Shape(); var MainMenu = function(ctx){ this.draw{ this.Circle(); this.Square(); } } What I want to do is to call the … | |
When I click on an "Add" button, it would create a new form with the "First Name", "Last Name" field and 2 textboxes, just like the original. So if I click on the "Add" button 5 times, it would create 5 new forms for me. Same idea applies for the … | |
I would like to put all my coordinates into an array and have a loop display each one but with a Google function. Here's the code, which draws the points on google map: var flightPlanCoordinates = [ new google.maps.LatLng(37.772323, -122.214897), new google.maps.LatLng(21.291982, -157.821856), new google.maps.LatLng(-18.142599, 178.431), new google.maps.LatLng(-27.46758, 153.027892) ]; … | |
How would I be able to do this? When I click on a button, it would send some text, say, "Check this out!!" to my [B]Facebook[/B] and [B]Twitter[/B] account. I checked everywhere on the web and and this forum but can't find anything on it. Can someone give me some … | |
I figure out how to write all the entries from my database onto a text file. header("Content-Type: text/plain"); header("Content-Disposition: Attachment; filename=test.txt"); header("Pragma: no-cache"); exit; How do I modify the text file?? Each entries (or row) have 5 elements in it and there are multiple entries in my database. How do … ![]() | |
Re: Lets say you visit 5 forums, and all have signatures, now change the link in the forum to point to the new site for all of your 5 forums, wait about a few weeks to be sure then check Google. Are you still in the same position as before (give … | |
I have 2 arrays and I would like to compare the 2 arrays. If an element in array 1 is NOT in array 2 then I would like to display that element. In this case, I should only display the letter "c" but it doesn't work and I don't know … | |
I trying to display a random number using innerHTML Here's my code: [code]<html> <head> <script language="JavaScript"> var myArray = new Array("String1", "String2", "String3", "String4", "String5", "String6", "String7", "String8", "String9", "String10"); var num = Math.floor(myArray.length * Math.random()); document.writeln(myArray[num]); //document.getElementById("myString").innerHTML = myArray[num]; </script> </head> <body> <div id="myString"></div> </body> </html>[/code] it works when … | |
I would like to pass an array to a function but how does the program know which array I would like to choose from?? Lets say I have 3 arrays and I would like to pass [b]array C[/b], to my function. I checked the web but they only show if … | |
I would like to have multiple id and all using hover link for all #test1, #test2, #test3, #test4 a:hover{ color:#0F0; } this doesn't work. NOT sure why?? thanks | |
I can't seem to get my innerHTML to display my content. This works fine, if I was to put it all in one line. [CODE]document.getElementById('addedText').innerHTML = '<table><tr><td>'+"My text goes here"+'</tr></td></table>';[/CODE] If I was to break it up, which I wanted then nothing seem to show up. [CODE] document.getElementById('addedText').innerHTML = '<table><tr><td>'; … | |
.innerHTML is used when you trigger an event but if you just want to display the text how would you go about do it?? I don't want to used document.writeln because it will "[B]Wipe out all the contents[/B]" of that page. So I have some HTML text and javascript text. … | |
I have this: [CODE]img.decor{ text-decoration:none; border:#CCCCCC thin solid; padding: 4px; } [/CODE] My HTML: [CODE]<a href="google.com"><img class="decor" src="images/birds.jpg" /></a>[/CODE] when I hover over the image "decor" in my CSS, I would like the whole image to turn grey. I tried this: [CODE]img.decor a:hover{background-color:#CCCCCC;}[/CODE] but it doesn't work. Any ideas?? I … | |
I am able to incorporate CSS into the HTML, like this: [CODE]<tr><td [B]style="background-color:#FFFF00;"[/B]>test</td></tr>[/CODE] How can I incorporate CSS into javascript? [CODE]document.writeln("<tr><td [B]style="background-color:#FFFF00;"[/B]>" + "test" + "</td></tr>");[/CODE] The javascript code doesn't work or this is it even possible? Thanks ![]() | |
I go onto this blog and post a comment, with my name, email address and website URL. When I submit it, I notice that the link to my site has been re-directed. So: link: their_domain.com/info&12345 redirect to: my_domain.com [b](My link)[/b] Will google bot see my link? Or does it just … | |
Re: You need to register your site to google, yahoo, and bing. It will take anywhere from a few days to a few weeks. here are the links: [url]www.google.com/addurl/[/url] siteexplorer.search.yahoo.com/submit [url]www.bing.com/webmaster/SubmitSitePage.aspx[/url] | |
Re: [QUOTE=infinique;1197332]When you have 4 links pointing to the same site, you are only getting one. Take a look at your signature.[/QUOTE] But doesn't it mean you have a better chance with 4 links that google bot will pick it up then 1 link? | |
Re: link building companies are a wast of time and money. It is better to have 10 links from sites with PR6 or higher than 1000 with PR0. Sometimes they submit your site to link farms which google [B]hates[/B] so be careful. | |
Re: keywords are still important but now it is most important in the title. use h1 or h2 tags so google bot will know it is a title. <meta title> are one of the most important thing. use it wisely, and don't make your title too long cause google bot only … | |
Re: google is great but we should never forget about yahoo and bing. They are still big fishes that we need to consider. | |
Re: What happens if your articles are not popular, does it still have the same amount of weight as the popular article? I've tried link wheel and it doesn't seem to help my page rank at all. I used webring, which is like link wheel. |