I have a application which runs over browser ...php application... i need to lock this application to only few machines and laptops that we allow to access. IP locking cannot be done as laptops can be on wifi from outside... Any Idea on how to do this?
I found this on net in google search
and see article here: http://www.thatcssguy.com/limit-your-divs/
See his final layout here: http://www.nodivs.com/
Some quotes from article
1
When I limited the use of my divs all
the major browser including both IE6
and IE7 would render the sites nearly
perfectly. Or with very little fixes
needed.
2
it’s magic but proves divs nor tables
are necessary for layout
Should we try to make sites like this?
What would the following cURL command look like as a generic (without cURL) http request?
feedUri="https://www.someservice.com/feeds\
?prettyprint=true"
curl $feedUri --silent \
--header "GData-Version: 2"
For example how could such an http request be expressed in the browser address bar? Partucluarly, how do I express the --header information if I were to just type out the plain http request?
How do you make a Countdown timer?
When the user loads the page, clock starts counting down, it reaches time, it redirects browser to a new page.
Found this, it was not too useful.
http://encosia.com/2007/07/25/display-data-updates-in-real-time-with-ajax/
Hi ,
I am trying to remove attributes of a DOM element using below statement in javascript.
var res = nodes.removeAttribute("style");
but the res is always "undefined" it seems that the removeAttribute function does not return anything (I tested it on firefox browser)
How can I identify that the attribute is successfully removed or not ?
Thanks,
Sourabh
I'm using the WCF Rest service application project template in visual studio. I'm just learning about REST, and I was wondering how I would post a SampleItem object to the following method:
[WebInvoke(UriTemplate = "", Method = "POST")]
public SampleItem Create(SampleItem instance)
{
// TODO: Add the new instance of SampleItem to the collection
throw new NotImplementedException();
}
I get the general concepts of gets for the purposes of grabbing data, but I'm not sure how I would post the object in code (or just through a browser for testing) to the service.
Take a look at http://www.pmverge.com at the "We're in Bootstrap Mode" DIV on the right-hand side. Having that background tile image is causing the IE browser (all versions) to drag when scrolling. What can I do to keep that tiled style but not have it slow down IE.
background-image: url(http://blog.pmverge.com/assets/images/background.gif)
NOTES
Yes this is the Stackoverflow.com
engine as I'm licensing it.
The background watermark image is
not slowing the page down (though it has about 50k).
Hi,
What I know that we can't develop a native app in iPhone which uses secure transaction(banking, purchasing etc). If we want to do so, we need to use Browser in app.
Just let me know if I am correct. Is there in link which clarifies my concern.
Thanks
SD
In my web application I use an ashx file to write a file to the browser. I've noticed that there's no compression over the .ashx file, but only over my .aspx files.
Is it possible to compress .ashx? And if it is possible, how?
Modern keyboards have special multimedia keys, e.g. 'Pause/Play' or 'Open Web Browser'. Is it possible to write a program that "presses" these keys?
I would prefer solution in C, but I would accept a language agnostic solution, too.
I have a regular input box (no onchange attribute).
<input type="text" id="bar" name="bar" />
For some reason, IE6+ does returns [object], while FF and Chrome returns null.
if ((elem.getAttributeNode('onchange')) != null)
elem.onchange();
I did also try as:
if (typeof(elem.onchange) !== 'undefined')
elem.onchange();
What would be the proper cross-browser way to check if the element has the attribute?
Thanks
I am aware that any Unicode character can be inserted into an HTML document via the following format:
�
...where 0000 is the character code of the desired character
My question is: which of these characters has the most widespread availability when it comes to the client's browser being able to display the character?
In other words, what are the ranges of codes that should be used in an HTML document that is going to be widely deployed?
Is it possible to host 2 asp.net projects off one ip address? I don't have a domain name just an ip number. I'm running IIS7.
The first project runs and displays fine over the web by simply typing in the ip address into the browser but I'm having trouble accessing the second.
Currently both projects have virtual directories in IIS7.
Help is greatly appreciated.
Thx
hello
what i want is to make user counter as true as possible.
exluding bots, and clever users as much as possible.
as 4 what i know, it can be done in several ways:
ip (trouble with dinamic ones and proxy's)
cookies (with session id maybe, but can be deleted or browser can be changed)
flash cookies (not all users have it)
any other ways? and what is the best?
When i request a page using browser / AJAX request i see lot of spaces and newlines which i think must be adding some overhead for retrieving the response as they too belong to characters means bytes and size. right ?
Is there some way it can be removed while sending from the server ? how ?
(I am using IIS and asp.net for development)
Does anyone know how to check in ASP.NET (C#) if Facebook is scraping a page? I'd like to be able to check on the server side if the "browser" hitting the page is actually Facebook (e.g. when it grabs details when a user is attempting to share a link).
I have a situation.
I have a label in ASP.NET 2.0(C#). The label should display a dutch language text that is "Sähköpostiosoite", I tried setting the Label.Text both from markup and code-behind but what I see in the browser response is "Sähköpostiosoite".
Originally assigned string "Sähköpostiosoite" get replaced with "Sähköpostiosoite". I have no idea why this happens can you please help me diagnose the problem ??
I've looked around for a while, but there doesn't seem to be a simple way to do this. jQuery doesn't help the in least, it seems to entirely lack any support for selection or DOM ranges. Something which I hoped would be as simple as $.selection.filter('img') seems to only be doable with dozens of lines of code dealing with manually enumerating elements in ranges and browser implementation inconsistencies (though ierange helps here). Any other shortcuts?
I had a setting in my domain controller to redirect my domain that another domain.
Example
http://mysite.com redirected to http://othersite.com
I removed the redirect about one week ago, but some users still seeing the redirect http://othersite.com rather than http://mysite.com.
Clearing the browser cache fixes the problem.
Is there are way I can force users to update their cache when they go to my site?
All,
I had a question on hosting.I have Pages that are written in php or JSP and is hosted on a server .And if a user enter say http://x.com in the browser, the main.php or main.asp page will be displayed.My question is there a way to hide the extensions..
Thanks...........
I have a website that i did some time ago now they request some new features and i did some changes in some javascript files, but when i publish the clients that use the IE have problems with cache so in they browser they have old version of javascript. How can i clear the client cache so when they visit website they use latest javascript files that i modify.
What is the best way (using HTML/CSS) to create an iTunes-style layout with the following features:
a left column with a fixed width but
fluid height (scrollbars for
overflow) (BLUE below)
a main content column with
fluid width and height (scrollbars for overflow) (RED below)
a bottom right
box with fixed width and height which
remains stuck to the bottom of the
browser? (GREEN below)
Here is an example:
I'm happy to use Javascript/JQuery if there really isn't a pure CSS solution.
Thanks!
I write my handler for server errors and define it at root urls.py:
handler500 = 'myhandler'
And I want to write unittest for testing how it works. For testing I write view with error and define it in test URLs configuration, when I make request to this view in browser I see my handler and receive status code 500, but when I launch test that make request to this view I see stack trace and my test failed. Have you some ideas for testing handler500 by unittests?