Member Login






Lost Password?
No account yet? Register
Latest Message: 4 hours, 12 minutes ago
  • hammer666 : be har hal movafagh bashid be ma ham sar bezanid : «link»
  • hammer666 : faghat baram soale ke chera english hastesh?
  • hammer666 : agha dame shoma vaghean garm kheyli web site bahali darid
  • hammer666 : shoma irani hastid?
  • hammer666 : salam
  • jaberpc : ;) ma hastim amreton...? :?:
  • mohammadrez : :?:
  • mohammadrez : chera hichkas nist
  • mohammadrez : ;)
  • mohammadrez : ;)

You have to login before you can shout!



 

Who's Online

We have 15 guests online




PDF Print
(0 votes)
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

 
PDF Print
(0 votes)
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:

 
PDF Print
(4 votes)
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)’.

 

 
PDF Print
(1 vote)
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:

 
PDF Print
(4 votes)
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.