Building Autoroller For Facebook Game?
Feb 28, 2009
I have a facebook game that I would like to create an autoroller for. What the game does is you get a base login and you click an object and you collect common, semi rare, and rares. I want the autoroller to take whatever money the user puts in a field and start rolling for those prizes. To give you an example [URL]. I have 3 scripts written already, 1 in html and 2 in java, but I don't know how to execute them.
View 1 Replies
ADVERTISEMENT
Mar 22, 2010
The title of every facebook profile page is the person's name. Is there a way to display the title?
I want something like:
var personName = SOME.UNKNOWN.CODE
var greeting = "Hello " + personName
document.write(greeting)
View 7 Replies
View Related
Dec 22, 2005
I'm trying to build a PC building form using drop-down menus. I want to use the values of each option in the menu and add them together to get the total price, then display the total price somewhere on the page.
View 4 Replies
View Related
Mar 29, 2006
I'm trying to combine some javascript variables into a URL, so I can pass the screen resolution to PHP to determine how large a popup window should be.
What I want to end up with is something like:
<a href="url.php?w=1024&h=768">Click me</a>
I'm trying this (which ain't workin'):
<a href="url.php?w=<script language=javascript>document.write screen.width;</script>&h=<script language=javascript>document.write screen.height;</script>">Click me</a>
It's just writing the literal script to the URL, not the value of the width or height.
View 2 Replies
View Related
May 10, 2011
I'm still working on same task New problem: When I place text in a rectangle, then wish to overwrite it,(that is replace it with new test,) I cannot remove the earlier text. The new overlays the old, an unreadable mess.
Moreover, what I have achieved works only in Opera. FF tells me I have too much recursion (None that I'm aware of). I cannot get any feedback from IE.
[Code]...
View 2 Replies
View Related
Oct 25, 2010
I'm trying to make a pop up window that should work such as the window the pops up when you press "View all friends" on one of your friends' profiles on Facebook.
View 1 Replies
View Related
Jan 31, 2011
I have been working on this for four hours and none of the methods online have worked. Every site has outdated screenshots and I have nowhere else to turn. There's supposedly just a couple of lines of code and "3 easy steps" to allow me to have a Facebook comment box on any page of my site. I DO NOT use Wordpress or any blogging software / sites. I am working from scratch in Dreamweaver.
View 5 Replies
View Related
Jun 5, 2011
I want to make web site that it want to plugging with facebook..... In other words, If i type & submit something,I want to publish in Facebook wall (if i can publish in selected person's walls its very worth) it like what the youtube done after some video shared... I want to add some button for my web & what i want to do after that....
View 1 Replies
View Related
Sep 25, 2011
I want to know that how i can get the text which user write in text area and want to show that text in web page same as facebook when we write something and and add comment it will show in a div how i can go with innerHTML i can get the value like document.getElementById("commentBox").value;but how i show in a div like facebook
View 1 Replies
View Related
Oct 26, 2008
If anyone has gone to facebook.com and logged in, you will notice there is a little bar at the bottom of your screen. Whenever you navigate through Facebook, the main page reloads, url changes, all of that (So no iframe). But that bottom bar never changes. It is always there and never gets reloaded (You can test this by highlighting the bar and then navigating through pages)
View 3 Replies
View Related
Mar 10, 2011
I am using this script to get the user image,name and email. now, how can I get those details and enter them into the database? I thought about Ajax to send a request like that: insertDB.php?image=abc&name=dan&email=dan@dan.com but its some kind of a security issue since bots could register to my website. (just send GET requests..).
[Code]...
View 3 Replies
View Related
Mar 27, 2011
Im using facebooks code to allow users to share a link on their profile. the facebook code is
<script>function fbs_click()
{
u=location.href;[code].....
The problem is, im using PHP mod_rewrite, so my url looks like mydomain/products/product_name i.e it looks like a folder rather than a page and when i click on the Share With Facebook link, the facebook page opens but the link is not captured.If i change it to mydomain /product /product_name.php, it will work....
View 1 Replies
View Related
Oct 4, 2006
I have a form that has two radio buttons. When the first one is
clicked, I would like the page to refresh (keeping the form data in
tact) and then displaying 2 new fields that need to be filled out. If
the second button is clicked, I need the same thing to happen, only it
will display two different fields needing to be filled out.
Does anyone have code that will do this? Or is this even possible with
JavaScript?
View 10 Replies
View Related
Jul 20, 2005
OK, I am looking for advice or tips and suggestions. I have overcome
a lot of the obstructions I had to building the page design my
customer was asking for. I am looking now at ways to deliver content
dynamically within the wonderful framework I created. Whilest I look
into the various methods of delivering content within a container of
one form or another in the existing HTML, I am also exploring the
possibility of using some form of 'wrapper' for existing flat pages
sorta like how geocities does to user pages to add the yahoo pull-down
div layers and such.
While doing some testing, I notice that if I just add a javascript tag
in the beginning, I can't use the document.body.AppendChild option for
the div layers unless I call the function that builds said layers from
a <body onload="">. When I do it from the onload event, the existing
HTML layers can effect the placement of the div layers even when I
have the CSS position set to absolute.
Short of using some form of server side code to insert at least the
DIV content in prior to dropping the file on the user's browsers, I
was wondering if there were any other suggestions on how to do this
with a minimal amount of coding in the HTML document itself. One of
my hopes is to limit the 'modifications' to any standard HTML file to
one or two lines so that anyone else developing pages can do so
easily, and/or I can create reasonably foolproof server-side wrappers
to call the javascript code to paste on the 'look-and-feel' elements
on just about any web page.
I have a feeling I will probably go the server-side route anyway, but
I was just curious what other suggestions there might be out there.
View 1 Replies
View Related
Jul 14, 2010
I want to do this with a checkbox and am falling down on it...
Code:
var i=0, elem, qstr='';
while(elem=document.forms['form1']['quantity'+(++i)]){
qstr += (qstr.length ? '&' : '?') + 'quantity' + i + '=' + elem.options[elem.selectedIndex].value;
}
Here is the checkbox
Code:
<input type="checkbox" name="approved[]" onclick="boxchk(this,6)" checked="checked" value="'".$j['id']."'"/>
View 1 Replies
View Related
Jul 8, 2009
I am very new to web development. I would like my website to have an application which allows a user to draw images which can be displayed on other users screens in real time.
An example of this is isketch.net Also on this site i would like users to be able to create accounts and join 'rooms' where they can communicate in real time (as opposed a forum message board). I am looking for something similar to isketch.net
Could somebody please tell me the type of development and programming needed. I have been quoted 1000 a month to build these capabilities but have no idea what is involved. (also may require facebook style real-time updating)
View 4 Replies
View Related
Jun 1, 2011
I am trying to build my first script. My problem, is I'm trying to build a multi hide/show script, displaying paragraphs of information. If I want multiple variables for the script do I have to use an array? and if so, how can I construct this array?
Here is my script as of now,
<!--
// this tells jquery to run the function below once the DOM is read
$(document).ready(function() {
[code]....
Right now the script doesn't work with the bottom two variables profile_"ect."
View 1 Replies
View Related
Mar 14, 2003
I'm fooling around with building a form that grows depending on the users input (relatively new to DOM 2 - but fun stuff!) I'm working on getting it to work (rather than being pretty - there are many improvements that could be made).
My question is has anyone seen any similar examples out there? The more I build on this thing, the more I believe there has to be another way... (like rather than creating every pull-down box - yes, I should put that into it's own function! - should I be playing with visibility and positioning?) Code:
View 1 Replies
View Related
Dec 12, 2005
I've got a URL in an include file like this :
<iframe src=http://www.blah.com?query=thevariable>
I want to be able to set 'thevariable' in the shtml page that calls that include and pass it to that string - I'm thinking that because I don't want to use php/asp that Javascript is the best way?
In PHP I'd do it like this :
<iframe src=http://www.blah.com?query=<?echo $thevariable;?>>
So how do I echo/insert the variable in the URL using javascript rather than PHP?
View 3 Replies
View Related
Sep 20, 2011
I'm building a web site ala autos.yahoo.com on servicos.mpl.pt/comparador/css1.php I have a sidebar with filtering options grouped in an accordion. The accordion panels get populated via jquery like:
Code:
//getMarcas
$(function() {
//get tag feed
[Code]...
View 3 Replies
View Related
Aug 16, 2010
point out where my logic is flawed in this? Or where my scripting is wrong?I'm trying to build a standard HTML table with 5 columns across and as many rows down as necessary, to fit all of the images in an array (brought into the DOM via PHP).My goal is to have rows of 5 columns that add on to accomodate up to 50 total images (10 rows).Here's my logic (flawed or not):*Look at the number of tems in the array*If the number is greater than 5, build one full row (of 5 <td>s)*Check again - is the number of items in the array greater than 10?*Build another row*If not, build a partial row, and fill in the rest of the <td>s (less than a full row) with blank spaces.The question is whether or not my logic is being represented in the javascript?unctions in <head>calls to function on lines 149-159Don't mind the formatting, I've blown it up so I can see what's going on.
View 4 Replies
View Related
Oct 15, 2010
im trying my best to monetize and using coding to make the best converting/viral websites. i think this script does it that it automatically 'likes' and 'shares' [im not sure about 'shares' part but it auto 'likes' for sure when you click on the iframe] and when you click on the iframe the content gateway pops up. In helping me do this i can learn also and implement different things in the future myself.how can i create someting like this? and im looking forward to having some type of script that would automatically generate a new 'viral' website so i wont have the hassle of MANUALLY creating same-type of sites over and over and over again lol, i know theres sometype of program/script that would do that for me its just the matter of asking the right person that knows where to get something like that or having someone script it for me so i can learn from them as well.
Is it possible for me to get this:URL>.. without the need of 25K subscribers? my youtube channel go viral, and therefore giving me exposure for my film-making career.i actually no pretty much nothing about javascript/coding for that matter. and im willing to learn, but right now my parents are in need of money and my internet marketing ventures will help them much, aswell for buying gear for filmmaking but yeah, my parents are in dire need of money.
View 3 Replies
View Related
May 4, 2011
Below I have a facebook login/logout script for my website. The login works fine. The AJAX requests the php file, waits for the "Success" response, and then reloads the page. The logout doesn't. Instead the browser goes to the PHP file with just the word "Success" printed on it. I've separated the xml request as a separate function but that doesn't appear to solve it either. code...
View 1 Replies
View Related
Jan 15, 2010
use something like this to workaround the lack of a "Select All Friends" button for Facebook groups, events and pages?
<html>
<frameset cols="25%,75%">
<frame name=inviteall src="inviteall.html">
<frame name=main src="http://www.facebook.com">
</frameset>
[Code]...
This bit isn't mine, I found it. You normally have to use this by copying it and then pasting it into the address bar when you are on the "Select Friends" screen.
View 3 Replies
View Related
Apr 18, 2010
I tried to implement a facebook style bar in the past, when i started i realized that IE 6 (and 7 if not under a strict doctype) did not support the "fixed" css position. So at the time i had implemented an ie hack using a conditional ie css file that used ie expressions. This turned out to perform too slowly for my likely, and didn't offer the control i needed to properly hide the bar in ie if javascript was disabled.what i am looking for is a javascript solution to the bottom bar.
View 1 Replies
View Related
Jul 26, 2011
I'm trying to create a button similar to Facebook's 'Like' button which is applied to each item in a list. When a user clicks the like button this item is favourited for the logged in user. For the moment I do this in the following way:-
<div id="item_<?php echo $row['item_id'];?>" onclick="like(<?php echo $row['item_id'];?>)"></div>
Obviously this is very unsecure because anyone can easily modify the item id stored in the like() function in the onclick property and like any item thes guess the id of.
My question is how do I make this secure by either not displaying the id of the item but still having it accessible to my like function or via some other method?
View 3 Replies
View Related