hyperlink

A link to my iPhone apps that works correctly?

I'm trying to put a button in my iPhone app that will move the user to the appStore and list ALL of our apps. This wastes time loading safari... then the music store... then the appStore: itunes.com/apps/OurCompanyName This tries to load Music Store... and never reaches the app store at all: itunes.apple.com/us/artist/OurCompa...

Link to download an image or other file, next to a link that opens a new tab with the image

I'm building an image gallery. Under the images, I want to display links under each image where one says "View full image" and another one says "Download image". Is it possible? EDIT: I realized that I've provided insufficient information. The images in my gallery have three sizes. The smallest are displayed with views. The medium is di...

How to include Session variable in NavigateUrl in hyperlink

I'm sure I've done this before, but can't remember the syntax. How do I include a session variable in nagivateUrl in a hyperlink? I've tried this: <asp:HyperLink ID="lnkMyLink" runat="server" Text="My Link" NavigateUrl='<%# "http://absoluteURL.org?param=" + Session["myParameterValue"].ToString()%>'></asp:HyperLink> and this: <asp...

How can I use a link to open file automatically instead of showing open save dialog?

I am trying to open a PPT file. I don't want to show the Save As dialog. I instead just want to open the file immediately on click. How can this be done? ...

CSS links behaving differently in Chrome and Safari vs Firefox

currently i'm having 2 issues. first of all, in chrome and safari there is a gray border around an image link. the border isn't there in firefox. here's the code: <a href="link.html" target="_blank">Link title <img class="leaving" /></a> and css: .leaving { background-image: url("images/leaving.png"); height:10px; width:10px;...

Create dynamic link in drupal

Could anyone tell me how to create a dynamic link in drupal? I want to create a link to a group membership list. I have created the view with the argument. How do I create the menu item link to the view? It will be different depending on the group. Thanks ...

SQL Query to remove hyperlinks from a column

Hello, I have a column dek with the following data I like Stack Overflow site. The users and answers are good. I also like site1.com and site2.com. I want to retrun the data as follows I like Stack Overflow site. The users and answers are good. I also like site1.com and site2.com. Basically, want to remove all the hyperlinks...

Hyperlink In Tkinter Text Widget?

I am re designing a portion of my current software project, and want to use hyperlinks instead of buttons. I really didn't want to use a Text widget, but that is all I could find when I Googled the subject. Anyway, I found an example of this, but keep getting this error: TclError: bitmap "blue" not defined when I add this line of cod...

How come there is 4px of extra padding appearing under my <a> element?

H3LLO, For some reason there is 4px of extra padding appearing under the a element. I am seeing this manifest in both Firefox and Chrome. I remember seeing this phenomenon on Flickr in its early days except it was a blue bar that appeared under s wrapped in elements. Here is a link to the example code that illustrates my problem. The...

UrlProperty and relative URLs

I have a custom UserControl (inherits System.Web.UI.UserControl) with this property, which should be set to a URL on the site that you want to link to: [DefaultValue("~/NewsItem.aspx"), UrlProperty("*.aspx")] public string InternalItemViewUrl { get { return _internalItemViewUrl; } set { _internalItemViewUrl = value; } } The co...

Connecting 2 Different JFrames with a Button

Hi there I would like to allow an existing JFrame (Calculating application) to print out a pre made JFrame (Error Shown = Textbox shows "Warning Wrong number entered") when I hit the calculating button and there is alphanumeric entered as a calculating value instead of just numeric numbers. I do not want to create a new JFrame within the...

Disable a HyperLink from code behind

In my project I need to disable a hyperlink based on some condition. So how can I do this from code behind using C#? ...

Find Links in HTML Document using Javascript/jQuery

Hi! This is a challenge for any Javascript/jQuery ninjas out there: What is the best way (using aforementioned languages), to find all of the links in an HTML document and return them all? In other words, a function that like this - findLinks(document.html.innerHTML) that would return all links found in that HTML. Thanks, DLiKS ...

javascript load url in background

I remember a couple of years a go, I used an hack from somewhere to update link hits in the background. What I remember is that I had an onclick event on my links that triggered a javascript function which tried to load an image or something (this is the hack), but instead of an image (or whatever it was) you put in an url like 'mysite.c...

Create menu link to view with argument

Hi there, I'm trying to use hook_menu to create a link to a view which takes an argument. However if I use the path (in $items[view-path/%dest]) that I've already set as the path in the view then the link doesn't appear. I'm guessing there's a path conflict somewhere. Is there a way round this? Or can I use another method to return the ...

How to invoke the same browser instance from a web link

Hello, i have a link on my web page; when i click it i open a new window and show content in that window. I would like to be able, in a second time, to click again in that link and, instead of opening a new browser window/tab, to get the previous instance and put content on it. Is it possible in some way? Thanks in advance, greetings ...

Link posts in wordpress

Hi all, I'm trying to link posts in wordpress. Let me elaborate. In wordpress, you can set how many posts you want to show on a page. If, for example, you set that number to 1, and you have 10 posts, then you'll have 10 pages. I have the following code that WORKS on the index.php (main posts page). It shows a link to older posts. Below...

AJAX: How to replace content of a DIV with a link in same DIV ?

I have index.php like this: <script type="text/javascript" src="jquery-1.4.2.js"></script> <script type="text/javascript" src="ajax.js"></script> <a href='one.php' class='ajax'>One</a> <div id="workspace">workspace</div> one.php <?php $arr = array ( "workspace" => "<a href='two.php' class='ajax'>two</a>" ); echo json_encode($arr); ...

Making custom bullets click-able in a CSS unordered list

So I used CSS to replace the bullets on a webpage with pictures of palm trees, change the fonts, move some items around, etc. The issue I have now is that only clicking the words will activate the link. Ideally I would like clicking the palm tree (the bullet) to have the same effect. Is there a way to do this? ...

How to customize the will_paginate link base?

<%= will_paginate(@posts) %> # will generate the links like this '<a href="/posts?page=n">a link</a>' # What should I do if I want to change the herf base on '/contents', etc. '<a href="/contents?page=n">a link</a> ? # It seems that there is no options for this , help! ...