Allow A User Of A Website To Add A Poll To The Website

Apr 27, 2010

Suppose I want to allow a user of a website to add a poll to the website for everyone to see/vote on. How exactly would I write a script for that?

View 8 Replies


ADVERTISEMENT

Files In Website Are Constantly Getting Injected With Malicious Codes Which Redirects Website?

Jan 28, 2010

The javascripts files in my website are constantly getting injected with malicious codes which redirects my website

View 2 Replies View Related

Code A Feature For Website Using DHTML Where The Person Viewing The Website?

Dec 29, 2005

I'm trying to code a feature for my website using DHTML where the person viewing the website can rotate between viewing the positive/negative points of the website being reviewed. This example was in the publication called Using HTML 4 by Lee Anne Phillips. Code:

View 5 Replies View Related

JQuery :: Ajax Program On Website A Call Website B?

Nov 30, 2010

I have a ajax program on a page on website A. And I need to let it talk to a program on website B. I tried to put website B into the url of the parameter but it doesn't work.It gives me a "[objet XMLHttpRequest]" error.here is the code on website A:

[Code]...

View 1 Replies View Related

Getting Time From Website Vs User?

Jul 6, 2010

You know how the get time functions pulls info from the users computer? Is there a way i can get that same information from a web site or a clock on the the same web site?

View 1 Replies View Related

Pop Up A New Window If User Abandons A Website.

Sep 11, 2007

Im needing a script that when a user clicks the "X" (closing the browser) or abandons my site a new small pop up window will appear..

The new small pop up window will ask "Why are you abandoning my site? Did you have any questions .. please let us know.." and then the user has the option to answer it or not.... then submit message or totally close the new window and main window..

I know the "window.closed" is the key but I dont know how to use it .. I checked on the internet but no information nor samples of it...

View 5 Replies View Related

Checking If User Bookmarks A Website

Oct 12, 2006

I think it's impossible to know if visitor has bookmarked your website, but if someone has any ideas how to check this,

View 5 Replies View Related

Image Appear When A User Tries A Screengrab On Images On His Website ?

Apr 21, 2011

I have been asked by a client if it is possible to have an image appear when a user tries a screengrab on images on his website.

View 1 Replies View Related

How To Check If A User Didn't Leave The Website

May 14, 2011

how to check if a user didn't leave the site.Ofcourse you can use the Onunload() or Beforeunonload() function.But some browsers like Opera and Safari and who know what other browsers don't support it. And I don't want to have false information about users still being there while they left.Is there any other alternative? Like expecting server side each X seconds a AJAX request from the user?If the user doesn't send a request, the user has left.

View 2 Replies View Related

JQuery :: Throw Script When User Leave Website

Feb 9, 2011

I want to change a db record when the user leave the website. I have this PHP script:
<?php
require_once("../config.inc.php");
if (isset($_POST["user"]) && isset($_POST["ip_address"])){
$query = 'UPDATE users SET logged = 0 WHEREuser= "' . $_POST["user"] . '" AND ip_address = "' . $_POST["ip_address"] . '" AND confirmed = 1;';
mysql_query($query, DB_LINK);
}
?>

And this jQuery script:
// script da includere in tutti i file delle pagine per l'utente loggato
// cambia lo stato dell'utente da loggato a non-loggato quando viene chiusa la finestra del browser
$(window).unload(function(){
$.ajax(AJAX_PATH + "logout.php", {type: "POST", data: "user=" + escape(USER) + "&ip_address=" + escape(IP_ADDRESS), success: function(){alert("Arrivederci!"); return true;}});
});
but it doesn't seem to work.

View 2 Replies View Related

Putting Part Of Another Website On Another Website?

Nov 17, 2009

I have a webpage and i want to put a section of another website on to my own website..

The Section i want to put on my website is on this page www.bebo.com/thegaadiscos and i only want to put the section with the comments on it...

What i want is a bit like the face book section of this website [URL]

View 4 Replies View Related

Script To Resize My Website Pages According To User's Screen Size?

Jul 23, 2005

I am looking for the script to resize my website pages according to user's screen size. The size of the table in the template is 1008 * 576 pixels and users with small screen are not able to see the whole page, they have to scroll horizontally. Is there anything possible without modifying my current template?

View 2 Replies View Related

Make A Button Link Me To Website With A Designated Search By User?

Mar 14, 2010

I'm new to javascript and I have a button in an interface for an app. It's like drag and drop and i want this button to link you to a certain website searching for what the user types in the searchField1 box. The button is button16. Such as you type dogs into the text box and you click the google button among other search engines and it will redirect you to a google search doing a search for dogs. But how do I make this button search google and search for whats in searchField1. I would really appreciate the help. Im looking everywhere to learn this but just cant find it. If you could tell me how or send me a link to a tutorial code...

View 2 Replies View Related

Log User Off Website When New User Tries To Log On

Feb 15, 2011

Imagine a wife has signed on to a web site in a browser tab. She does not sign off and walks away to do something else. Her husband sits at the computer and seeing her signed on, opens a new tab and tries to sign on to the same site. I need to automatically sign the wife off when this happens so as to avoid confusion later regarding which session is active.

View 10 Replies View Related

Website Icon In JS?

Aug 10, 2006

we use <link rel="Shortcut Icon" href="favicon.ico"to define the
website icon.

But I view the source of apple.com and yahoo.com, I find there is no this tag but they can show the icon very well. What is this technique?

View 3 Replies View Related

Javascript Website

Dec 28, 2006

Are there any GREAT javascript websites out there?? or an Official
site??

I'm looking for an MSDN / PHP / JAVA style-site with examples and (for
gods sake) FREE samples of Tabbed Menus.

View 2 Replies View Related

Using Javascript On My Website

Mar 20, 2007

I am crewating a website using HTML and Javascript. The website can be
seen by everybody that has internet. Do I have to consider that some
people don't have javascript enabled in their browsers?? I mean If
someone has disabled javascript they wont see some part of the
website.

View 6 Replies View Related

Add A Website As Homepage?

Jan 18, 2010

i am developing a site where should remain the option of adding this site adding as homepage of user. but i did not do anything like this in previous.

View 3 Replies View Related

Get All The Links In Website?

Oct 6, 2010

way to get all the links in a web page using javascript?

View 1 Replies View Related

Counter In The Website

Dec 23, 2005

I have a website and i want to have a counter. how i do that? I mean a counter count all who go in my wedsite.

View 2 Replies View Related

Autologin To A Website?

Jun 7, 2011

I want a script to login to website without even typing the username and password while logging in.Its very annoying when you have to type the passwords to to login to multiple sites each time and open those sites one by one instead I could have somthing like a click on a file and all the websites open(no need to login)/OR a click on the bookmark and all the websites open(no need to login).

I know a bit of HTML/javascript(as well as windows shell scripting,C++,unix shell scripting). provide some working example in any one of these two languages if possible and how to use it.(I don't know ajax at all so please avoid ajax unless it becomes impossible to do without it).

EDIT:Any other language is also welcome but I would need the instructions to use your programme

View 4 Replies View Related

Run Exe File From Website ?

Jul 28, 2011

Run exe file from website I used javascript code to open a application from a webpage link., its opening in my local PC but its not working in Apache server. I need to add this code to my intranet page. I want to put this script to my Intranet web page, I want to run notepad when i click the Link.

Here is the code:

View 10 Replies View Related

Bookmarking A Website

Dec 2, 2005

Can someone point me in the direction of a site which gives you a free script for have a bookmark link on your website.

View 2 Replies View Related

Set Up My Website For Both Firefox And IE?

Mar 1, 2010

I'm trying to set up my website for both Firefox and IE. I want to be able to change some CSS values if the user is using IE. I have a list of images that when the user hovers over them the place name appears. In Firefox the name is correctly displayed in the middle of the images. In IE it is off to the side. The CSS for this is code...

View 2 Replies View Related

Get Comments On Website?

Jul 24, 2011

I was wondering how to get a form to request name and comment and then post them on a page. I know how to get it to post to a mysql database and then have the displaying page pull the data and post it in a table, but I'm not sure if this is the correct/best way to do it. Do most people use AJAX or something else, or just do the mysql thing?

View 2 Replies View Related

Put A Blog On My Website?

Nov 23, 2010

I am building a website and on my homepage there is a small section where I want recent blogs to be posted. Of course I want a page for blogging also. how to do this?

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved