Posts tagged "window"

Using jQuery to Open External Links in a New Window – Expression Web


Learning jQuery has been on my to-do list from quite some time and finally, I am getting some hands-on with it. Suprotim’s eBook ’51 Recipes using jQuery and ASP.NET Controls’ has been very helpful and I am learning how to apply these tricks on my HTML web pages created using Expression Web.

If you are new to jQuery, check this article ‘How jQuery Works’jQuery is a fast, lightweight JavaScript library that is CSS3 compliant and supports many browsers. The jQuery framework is extensible and very nicely handles DOM manipulations, CSS, AJAX, Events and Animations.

While I continue my exploration with jQuery, I would like to share whatever I have learnt about jQuery with my readers. This article is about using jQuery to open external links (links that point to a domain other than yours) in a new window.I usually like to open up a link on a website in a new tab or a new window.

This makes it easier for me to remember where I was and I always have the original page opened with me. There are some sites which contain links that open in the same window, and one link leads to another and I keep browsing pages in the same window.

At some point, I realize I need to go back to the original page I visited and I don’t remember the URL. So I need to hit the back button on the browser several times, until I reach that page.

Now if you are building your website in Expression Web, you can open links in a new window using the ‘Hyperlink Properties’. Select the hyperlink, right click and choose Hyperlink Properties from the menu.

In the Edit hyperlink window, choose ‘Target Frame’. In the Target Frame window, select New Window from the list.

View the Original article



Be the first to comment - What do you think?
Posted by Anand Narayanaswamy - May 17, 2010 at 1:14 am

Categories: ASP.NET   Tags: Expression, External, jQuery, Links, Using, window

Displaying Multimedia Content In A Floating Window Using FancyBox

While surfing the web you may have come across websites with images and other multimedia content that, when clicked, were displayed in a floating window that hovered abovethe web page. Perhaps it was a page that showed a series of thumbnail images of products for sale, where clicking on a thumbnail displayed the full sized image in a floatingwindow, dimming out the web page behind it.

Have you ever wondered how this was accomplished or whether you could add such functionality to your ASP.NET website?

In years past, adding such rich client-side functionality to a website required a solid understanding of JavaScript and the “eccentricities” of various web browsers.

Today,thanks to powerful JavaScript libraries like jQuery, along with an active developer community creating plugins and tools that integrate withjQuery, it’s possible to add snazzy client-side behaviors without being a JavaScript whiz.

This article shows how to display text, images, and other multimedia content in a floating window using FancyBox, a free client-side library.You’ll learn how it works, see what steps to take to get started using it, and explore a number of FancyBox demos.

There’s also a demo available for download that shows using FancyBox to display both text and images in a floating window in an ASP.NET website.

View the Original article

Be the first to comment - What do you think?
Posted by Anand Narayanaswamy - April 25, 2010 at 12:20 am

Categories: Programming   Tags: briefly about c# and c# tools, c sharp compiler download, c# compilers, C# keywords classified, content, develop in c# in windows98, Displaying, download C# compiler for windows xp, download different Types Of Compilers in C#, explain briefly about c# and c# tools, FancyBox, Floating, multiform application in C#.Net, Multimedia, Using, window