JavaScript - Help How To Do This Kind Of Websites?
Hi, I really need to know how to do this kind of websites.
( i don't know if this is the right place, so you can move it) This one is a train website, where the visitor pur the url with a picture of their tumblr or twitter just like this one http://www.tumbletrain.com/ Does anyone know how to do this kind of website? Do i need an application installer or is it just coding?? Also the other website is like a list where the visitor can put their link to their website, and it appears in the index page.. Just like this website http://tumblrplug.com/ What do i need to do it? Does anyone know? Do i need to use wordpress and some kind of coding?? I know about php coding, and web design, i'm not a novat but i just coudn't find out how to do those kind of websites.. Please can anyone help me? I'd really appreciated that.. Thank you Similar TutorialsHere is my assignment http://www.sci.brooklyn.cuny.edu/~ci...omework3B.html Here is my html file, magic.html: Code: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <SCRIPT SRC="Project3B.js"> </SCRIPT> </head> <form name="sqaure"> <table border="1"> <tr><td><input type="text" id="a00" size="4"/></td> <td><input type="text" id="a01" size="4"/></td> <td><input type="text" id="a02" size="4"/></td></tr> <tr><td><input type="text" id="a10" size="4"/></td> <td><input type="text" id="a11" size="4"/></td> <td><input type="text" id="a12" size="4"/></td></tr> <tr><td><input type="text" id="a20" size="4"/></td> <td><input type="text" id="a21" size="4"/></td> <td><input type="text" id="a22" size="4"/></td></tr> </table> <button onclick="compute(sqaure);">check</button> </form> </div> </body> </html> Here is my .js file also properly named: Code: <!-- hide script from old browsers function compute ( f ) { var isDifferent=true; var addsToSame=true; if( (distinct ( create_square (f) ) ) == false) { isDifferent=false } if( (same_sum( create_square (f) ) ) == false) { addToSame=fa;se; } } function create_square ( f ) { Array = new Array(2); Array [0] = new Array(2); Array [0][0] = a00.value; Array [0][1] = a01.value; Array [0][2] = a02.value; Array [1] = new Array(2); Array [1][0] = a10.value; Array [1][1] = a11.value; Array [1][2] = a12.value; Array [2] = new Array(2); Array [2][0] = a20.value; Array [2][1] = a21.value; Array [2][2] = a22.value; return Array; } function distinct(a) { var isDistinct=true; var h=0; var i=0; var j=0; for (h=0;h<3;h++) { for (i=0;i<3;i++) { for(j=0;j<3;j++) { if(isDistinct==true) { if(a[h][j]==array[i][j]) { isDistinct=false; } } } } } if(isDistinct=false) { alert ("Not all numbers are distinct") return isDistinct; } } function same_sum(a) { var sum = 0; var i = 0; var TorF = true; for (i=0;i<3;i++) { if (TorF == True) { if( var sum != 0) { if( sum != row_sum(a, i) ) { TorF = false } } else { sum = row_sum( a, i) } } } for (=0;i<3;i++) { if (TorF == True) { if(sum != col_sum(a, i) ) { TorF = false } } } if(TorF == False) { alert ("Not all rows/columns add to same number") return TorF; } } function row_sum(a, r) { var total=a[r][0]+a[r][1]+a[r][2]; return total } function col_sum(array, i) { var total=a[0][c]+a[1][c]+a[2][c]; return total } // end hiding script from old browsers --> Sorry if it looks really odd...i am not entirely sure on javascript, I sorta....partially writing the code based on my experience with C++, and I have heard that would punish me ofcourse...but...the program seemed easy enough. Anyway help would be appreciated...if someone could recommend me a program or something I could use for debugging for javascript that would also help. PS....the title is supposed to be "I did a lot of code kinda so I am hoping someone is willing to help me lol"...its late >.> What do you call this kind of javascript array? Code: var markers = [ { lat: -33.85, lng: 151.05, name: "marker 1" }, { lat: -33.90, lng: 151.10, name: "marker 2" }, { lat: -33.95, lng: 151.15, name: "marker 3" }, { lat: -33.85, lng: 151.15, name: "marker 4" } ]; markers[0].name= "wow I was able to do this"; I don't see any javascript documentation on this. I want to have a real time text ticker. I would be able to type something in and it would continue to scroll until I typed something else (followed by the return key), and it would scroll that, without the end-user having to refresh their screen to see the update. I was hoping their might be a script out there already that does that, but since I can't find one, I thought I'd see about trying to create one. What would be the most practical scripting language to use? Or if you know of something that does this already, could you point me in the right direction. Hi, In our static few page website, when user open the home page, I want to open one "prompt" kind of window with my own input fields: e.g. One Simple Text Line One anchor link to external link One Text Box to input product key Ok Button Cancel Button. I want this "prompt" kind of window compulsory to attend. Means user will not be able to access the page without responding this window. According to user button pressed "OK" or "Cancel", I want to display the corresponding text in the home page. In short, it will be close to the "window.prompt" but customized and compulsory to respond. Thanks, I have been to this forum many times as a lurker and I have picked up some good information. For this I give Thanks wholeheartedly. My situation: I enter information in a system based on the # of a report that comes in. So if I see a report that says "333" i want to enter specific information for "333" same with "444" and "555" and so on and so forth. So I want to have a drop down menu for 111, 222, 333, 444 etc... Basically what I need is, if I select the report # from the drop down menu, I want it to copy information from a HIDDEN textbox to the clipboard. That's it! I've been trying to figure it out, but to no avail. Sorry I am fake coder is there a way using .htaccess or some other means that we can block certain websites from appearing when we do a google search of my wife's name? We contacted google and they denied our request to have these websites blocked. My wife has her own website she uses for her business. There was an .htaccess editor website that I visited that created the code after I specified the url of the websites we wanted blocked. Will this work and if so, after creating the .htaccess file what do I do with it, that is where do I attach it/post it? please help. (this is the first time i've ever posted anything on a website. my wife and I are technophobes.)
Ok im haviung a problem, im building a website and im building some javascript! My main issue is that whenever I use IE7, a small pop-up says "To help protect your security, IE has restricted this webpage from running scripts ... bla bla bla... " you get the picture. Why is it some or many websites dont have this pop-up appearing when they themselves have scripts running? (which i am 100% sure of) Do you need some Microsoft approval so that the stupid pop-up doesn't appear every time i access the website or wut? I need an explanation as to what I need to do to stop that pop-up from appearing! thX K4L (and no the answer is simply not using another web browser to avoid this because the rest of the world doesnt have your same view!!!!!!) Alright, so I'm trying to get Javascript to work for me on my own website, and I can't even seem to get it to work when I test the files offline. I can take an example script from the internet, copy it, and put it on my computer. From then on, the script no longer works. I try uploading the file to my webhost, and it still won't work. It's not Browser Support because I'm using the same browser I used to view the example, which worked on the website it came from. There's no differences in the code I used, as opposed to the code they used. Javascript still won't work. Can anyone explain any reason why this is? Is there some kind of extra Java Support one would need on their webhost to make JS work? One of the websites I'm trying to get my script from is this: http://sixrevisions.com/tutorials/ja...cript_tooltip/ Hello, I used to own a book that explained an approach to coding, but I lost the book, cannot remember the author or title, plus I have only recently returned to coding and I have half forgotten the method the book taught It was brilliant as it used a system of non-language specific psuedo code in order to structure the solution to coding problems before actually coding in the language of choice Before moving on to JavaScript, I used to code Lingo/Director projects. Before finding this book, I used to struggle when attempting intermediate+ problems as I found it difficult to organise a clear approach before coding, so I just used to dive in there (which is bad). After finding the book, I found it quite easy to create a psudo code solution to most coding problems then, using this structured psuedo code as a guide, it was quite simple to code the structured psuedo code solution in the chosen language I have tried Amazon etc and although they have some books on structured programming, they are not the book I had and I get the sense that what they mean by structured programming is different to what the book I had actually taught I was hoping that someone on this forum might have used the same book, or knows what I mean and knows of a book or website that explains structured programming techniques It would be a great help to me if I could find this information again and I think it would be of great benefit to others on here - especially beginner javascripters like myself Thank you Hi, i want to create this Login-Button: www.ogame.org Can you give me an idea how that works? Thank u, nvidia Hi experts, is it possible via Javascript to search certain websites with certain keywords without having to use specific search engines? example search only the following: 1. www.yyy.com 2. www.aaa.com 3. www.zzz.com for the keyword "Laminat" and open the sites accordingly. thx |