links

How to change the current Tab backcolor of asp.net mvc menu?

Hi I would like to ask your help. Currently I am working with the project using mvc. For good model I would like to ask how this site changed the backcolor or the curent tab? For example above we can see there are tabs namely: Questions, Tags, Users etc. So when I am on the Questions tab the backcolor becomes orange. How did you do that?...

UIWebView not responsive

Hi, I'm having trouble intercepting URL clicks within a UIWebView. I've read around and found the most common problem is that links have a target="_blank" attribute to open in a new window, but mine have no such attribute. URLs are of the form "/word", where word is some arbitrary word. I'm also encoding them with %20 when necessary. My...

Creat a list of links from controller actions ASP.NET MVC

Is there a way to make a list of links for each action in controller instead of having to add <li><%= Html.ActionLink("Link Name", "Index", "Home")%></li> for each item? ...

Link to page coordinates

Is there a way to link to another page's content using coordinates, without using #anchors? For example, say I want the link to go directly to content that's 1200px down the page. How can I do this? Javascript, server-side magic, anything goes as long as it will work for the average visitor. ...

jQuery accordion links do not work

I have no idea what I am doing, but I found some code, that I am using to create a accordion dropdown for a help page on my blog. Everything is working perfectly, but when I click on a link in the dropdown, it closes the accordion and does not go to the external site. I have no idea what I am doing wrong. Is there a way to fix this? Her...

jQuery Accordion and active link

hi, i use the followig accordion menu: function initMenu() { $('#submenu ul').hide(); //$('#submenu ul:first').show(); $('#submenu li a').click( function() { var checkElement = $(this).next(); if((checkElement.is('ul')) && (checkElement.is(':visible'))) { return false; } if((checkElement.is('u...

When loading a web page in UIWebView in iphone, the click does not work.

I use and UIWebView in my application to load www.google.com. After the page is loaded, I am not able to click on any of the links. Basically the links dont work. Am I missing something ? ...

CSS! Do you have to repeat same properties for each link state? (link, visited, hover...etc) ?

Is it necessary or bad practice to repeat properties that aren't changing in each link type? Like this: a:link {display: block; width: 50px;} a:visited {display: block; width: 50px; color: #000;} a:hover {display: block; width: 50px; color: #FFF} a:active {display: block; width: 50px; color: #FFF} Does display block need to be in eac...

Using # in links instead of GET params = faster?

I just noticed that say http://s7.addthis.com/js/250/addthis%5Fwidget.js#pub=PUBID does the equivalent of http://s7.addthis.com/js/250/addthis%5Fwidget.js?pub=fct-250 but is much faster. How does that work? O_o I'm including the above links in a < script src call. Its supposedly faster according to one of the addthis developers. ...

open a tab using a text link on the same page

I have a series of tabs with content and want one of the tab/contents to open when a user clicks on a link on a sidebar. How do I do this please in simple terms and instructions. I've managed to set up the tabs using jquery but not really al that js savie!! ...

Dynamically pulling images and creating links

Is there a way to pull images from a directory and place them on a webpage and have links attached to those images that would take a person to a specific webpage associated with that image using PHP? Thanks ...

REST/Ajax deep linking compatibility - Anchor tags vs query string

So I'm working on a web app, and I want to filter search results. A nice restful implementation might look like this: 1. mysite.com/clothes/men/hats+scarfs But lets say we want to ajax up the filtering, like the cool kids, and we want to retain deep linking, we might use the anchor tag and parse that with Javascript to show the corre...

Android: How can I add HTML links inside a ListView?

How would I go about adding clickable links inside a ListView? ...

Smarty Section Making the selected Link Bold

Hello, How can i make the selected link from the List below, bold, that you see you are on Page ex. 3 or 5 With this code if you click on a Link you dont know on which page you are. The smarty code looks like this; {section name="sitelinks" start=0 loop=$total->sitelinks} <span class='tag'> <a href='/member/{$campaign->id}?start={$...

how can i make different html links different colors . .

i am generated an html file with many different links and they (by default) all show up the regular blue color. Is there anyway i can make certain links different colors. note that this html is getting pushed into outlook as an email so i can't have separate css files. ...

UIWebView with links.

I am creating a webview and loading content using "loadHTMLString" The content is loading I just can't get the links to work ex linking to google.com. Any help would be great. UIWebView* newWeb = [[UIWebView alloc initWithFrame:CGRectMake(notificationPopUp.frame.origin.x+ 20,notificationPopUp.frame.origin.y-100,100, 100)]; //newWeb.bac...

jQuery - Active Link and Parent Relationship

I am working on a navigation for a site and need some guidance on dynamically adding a class to the active link. In addition, once that link is established and I need to reference back to the parent and have it "show". This is what I am working with. The navigation is accordion style but does not use the Accordion UI. <ul id="menu3"> ...

PowerShell: Links to interesting sites or blog posts

In this question Alan posted links to interesting pages about PowerShell. I found also some interesting pages: http://channel9.msdn.com/wiki/windowspowershellquickstart/ (cheatsheet) http://technet.microsoft.com/en-us/library/bb978525.aspx (core reference) http://devcentral.f5.com/weblogs/Joe/archive/2009/01/05/powershell-abcs---k-is-f...

How do I use preg_match_all with 2 values and preg_replace to create 2 different links

I have a text file that I am displaying in a table. I am using preg_match_all to find a specific Title with a specific Chapter and I am replacing the Title and Chapter with preg_replace to make it a link.. For example the contents within the text file are as follows: Dec 04 20:15 Naruto 123 Dec 04 17:42 Naruto 98 Dec 04 16:19 D Gray Ma...

sprite problem with image link

how to use sprite with image links. when i try to use as below link lost <a target="_blank" rel="nofollow" title="link1" href="http://www.yahoo.com"&gt; <div id="yahoo1" class="logosprite"></div> </a> css: #yahoo1.logosprite { background-position:0 0; height:16px; width:16px; } can anyone suggest better solution ? ...