|
Written by Peyman
|
|
Wednesday, 09 September 2009 |
|
Using JavaScript to DropDown an HTML Select on MouseOver An HTML SELECT can be programmatically dropdown on MouseOver using JavaScript. On MouseOut, we can get the SELECT to its default positions. Here's how to do it |
|
|
Written by Peyman
|
|
Monday, 07 September 2009 |
|
How to Open a Page In Full Screen Mode using JavaScript One of my team members had a requirement of opening up a page in Full Screen mode. He wanted that when a link on the page is clicked, the same page should be opened in Full Screen Mode. If you too have a similar requirement, then here’s how to do so: |
|
|
Written by Peyman
|
|
Friday, 07 August 2009 |
|
How to Debug Client-Side Script In Internet Explorer If you have got a lot of JavaScript code in your ASP.NET pages, chances are you have to debug it at some point of time to fix a bug or test the output. In IE, you need to explicitly enable debugging support inside the browser. Follow these steps to do so: Open IE > Tools > Internet Options Click Advanced Tab > Under the ‘Browsing’ section, clear the checkbox against ‘ Disable script debugging (Internet Explorer)’.
|
|
|
Written by Peyman
|
|
Thursday, 30 July 2009 |
|
Programmatically Retrieve StyleSheet Url’s Referenced in your Page using JavaScript I came across a requirement where the stylesheets referenced by a page had to be listed. The user was then given the ability to disable the stylesheet he did not want. Here’s how we can use the document.styleSheets collection to retrieve the collection of styleSheet objects that are referenced using a <link> and then disable the stylesheet the user does not desire. A portion of the code is as given here: |
|
|
Written by Peyman
|
|
Thursday, 23 July 2009 |
|
How to add a CSS Link programmatically using JavaScript In this post, here’s a piece of JavaScript code that demonstrates how you can programmatically reference a CSS link on a page. |
|
|