Hello,
how to center a div across all browsers and behind this div there should be a transparent background layer covering entire screen of browser like lightbox.
Thanks
How can i pass the URL property in web browser into an if statement....
private void button2_Click(object sender, EventArgs e)
{
var GameStats = comboBox1.Text;
if (GameStats == "BattleField: Bad Company 2")
{
//Make URL equal to http://statsverse.com/
}
}
Hi,
Is it possible to create a new thread in asp.net to do some processing, and then upon completion, set a flag so that when the user requests the next page, I can insert some extra text or code to perform some notification? Or if it is possible to send some text to the browser after the request has completed?
For example jGrowl would be great to have a notification after some processing has been performed.
Thanks
Hello,
I'm using Telerik controls, specifically the numerical textbox where you can set a up-down arrow to increment/decrement values in a textbox. I am required to set the tab order to move to the next field but since there's a button on the up-down arrow, the browser will go through those buttons first then move to the next textbox field.
How do you set the jquery to detect the next visible textbox/dropdown/etc input field and move to that on pressing the tab button instead of running through the buttons near it?
Nasty little bug, this one.
As illustrated in Android ticket 6721, the Android browser seems to not respect z-index when absolutely positioned elements are laid over the top of <a> or <input> tags.
I am desperate for any sort of workaround. Has anybody conquered this one before?
Thanks in advance!
I want to log the URLs of all the popup attempts in my FireFox browser running on Windows.
Is there a way to do this? Either somehow externally, or internally with an extension?
Hi
I have a horizontal scrolling site that uses jquery to reverse the mouse axis on the scroll wheel on the mouse. This works fine on every browser apart from safari. The address of the page with the scrolling is here: http://www.jamesbells.com/index.php?page=alias
Can anyone help - all I need is for the mouse wheel to scroll left and right when moved up and down.
Cheers
Jon
I'm hoping that there's a relatively simple way to rotate a webpage a little bit, 30 degrees or so, while still leaving it fully functional and usable.
I completely control the page, and can modify it to make this easier if needed. I'd rather not re-write the whole thing in SVG, though, but perhaps javascript and canvas will work?
Is there a way using CSS, Javascript, or some other cross browser method that would allow me to accomplish this?
Basically looking for a JQuery plugin with better Android browser support than JQTouch. Or even an alternative Javascript framework with better mobile support.
Hi Everyone,
Anybody has any idea on crawling websites that have dynamic pages/queries? I mean if I click a certain link, it has different values every I try to reload it in a web browser. Now my webcrawler could not download the contents of these pages. Please advise.
I have a blackberry app that I am trying to deploy OTA (over the air).
I have set the MIME type on my server to be:
cod application/vnd.rim.cod
jad text/vnd.sun.j2me.app-descriptor
jar application/java-archive
When I access the JAD file on my web-server through the BlackBerry Browser, I get the message
Unsupported Media Type
and then a prompt to download the JAD. How can I resolve this?
In order to achieve this effect, I would like to know how I can make the WebBrowser to scroll up when new content is added to the HTML page?
"Allow more entries to be displayed in the view: When the user clicks more, additional entries should be displayed in addition to the ones which are already displayed. The code should cause the UI to scroll such that the first entry of the "more" set is on top".
I am using com.ibm.rcp.browser.service.WebBrowser which is similar to SWT WebBrowser.
$(function(){
$.getJSON('http://pipes.yahoo.com/pipes/pipe.run?_id=7ba696f34ae17b6fa8f5d4de13064dea&_render=json&callback=?',function(data){alert('called')});
});
i am using the above code to acess the a yahoo pipe i created to convert the last.fm xml output to json.but the firebug console output is showing me
invalid label
http://pipes.yahoo.com/pipes/pipe.run?_id=7ba696f34ae17b6fa8f5d4de13064dea&_render=json&callback=jsonp1276401573015
Line 1
while i can view the result using a browser in a perfectly normal way.also i validated the json using jsonlint and it shows the json is valid,what migt be the problem ?
When using the xhtml1-transitional.dtd doctype, collecting a credit card number with the following HTML
<input type="text" id="cardNumber" name="cardNumber" autocomplete='off'/>
will flag a warning on the W3C validator:
there is no attribute "autocomplete".
Is there a W3C / standards way to disable browser auto-complete on sensitive fields in a form?
i have a div which contains devexpress grid ondeleting a record in the grid it shows a loading panel and the diaplys the updated grid.
The problem is that the loading panel appears in the left top corner of the browser and not in the center of the grid where it should be?
can any one guide me in that
Hi, I'm creating a web-browser type app (using a web view object) that needs to be able to connect to the internet via a proxy. Server, port, username and password can all be hardcoded into the app but unfortunately I have no idea how to customise the proxy settings of a web view without changing the system wide proxy settings.
If you know how to do this please provide some example code, thanks a lot!
(Also, if it changes anything - I'm developing for mac, not iPhone)
I'm trying to visit a page with cucumber, with:
visit new_video_path
but I get this error:
undefined method `episode_id' for #<Video:0x22df8dc> (ActionView::TemplateError)
On line #19 of app/views/videos/_form.html.erb
...
19: <%= select(:video, :episode_id, @episodes.collect {|e| [ e.title, e.id ] }, { :include_blank => true }) %>
It loads fine in the browser, and the form processes fine too.
What did I do wrong?
The bit.ly info API returns URLs for thumbnail images. When I attempt to access these images, I receive an access denied error. How do you access the thumbnail images generated by bit.ly?
EDIT:
I am testing the image URL by taking the URL provided by the info API and using the browser to access. Bit.ly returns an Access Denied error code. Do I need to somehow provide the login and apikey?
Hi,
Updating an old piece of software but in order to maintain backward compatibility I need to connect to a .mdb (access) database.
I am using the following connection but keep getting an exception, why?
I have validated the path, database existence etc. and that is all correct.
string Server = "localhost";
string Database = drive + "\\btc2\\state\\states.mdb";
string Username = "";
string Password = "Lhotse";
string ConnectionString = "Data Source = " + Server + ";" +
"Initial Catalog = " + Database + ";" +
"User Id = '';" +
"Password = " + Password + ";";
SqlConnection SQLConnection = new SqlConnection();
try
{
SQLConnection.ConnectionString = ConnectionString;
SQLConnection.Open();
}
catch (Exception Ex)
{
// Try to close the connection
if (SQLConnection != null)
SQLConnection.Dispose();
//
//can't connect
//
// Stop here
return false;
}
I have a View that outputs a page. Under Basic Settings I set a "title". When I load the page, I see that title as the page title (at top of the browser) - all good.
How can I print this value out in the "Display output" .tpl file? The $title variable doesn't seem to hold any value here. Do I need to use a preprocess function?
Thanks
I need to lock the browser scrollbars when I show a div that represent a modal window in Internet Explorer 7 only.
Googling I found that I can use document.body.style.overflow='hidden' but this doesn't work for IE7. I also tried with document.body.scroll="no" which works but only after I mouse over the scrollbar :-S
Does anybody knows a better aproach?
Thansks
Hey all,
I was wondering if there is some variable that will return what $_SERVER['DOCUMENT_ROOT'] returns when I call PHP like this: ./somescript
If not, how do people get around this case? I'm looking to be able to call the same script (a template compiler) in both the web browser and the terminal.
Thanks!
Matt Mueller
As anybody tried using Paypal's IPN on a port other than 80?
I'm trying to specify a URL like http://domain.com:8080/url/to/ipn.php but the IPN request isn't getting through.
If I hit the URL directly from my browser it works fine.
Quick question: what is the (full) valid / allowed charset for id and class CSS identifiers?
Is there a regular expression that I can use to validate against? Is it browser agnostic?
Hi,
I m opening a HttpConnection to a URL. Its working in simulator but when i try it in device, it gives "java.io.IOException: Bad DNS address" while opening the HttpConnection. I serached the forums but havent got the solution yet.
That URL is opening in Blackberry device Internet Browser but not getting the HttpConnection (HttpConnection is coming NULL) when i try through my code.