Multiple Links
Dec 22, 2006
I have an idea but don't know if it's possible, from a technical point
of view.
Imagine to have some text.
Example
"John and Mary go to the cinema."
I'd like to have this kind of links.
By selecting "John" I can go to:
Link 1 (eg. page 1)
Link 2 (eg. page 2)
Link ...
By selecting "John and Mery" I can go to:
Link 4 (eg. page 4)
Link 5 (eg. page 5)
Link ...
So, the word John can be included in two links.
The links are multidirected.
Do you know if there is a package useful for this purpose?
On the contrary, do you have some suggestion useful to achieve this goal?
I really don't know how to start.
It could be nice to have this possibility.
Example
"John and Mary go to the cinema."
I could choose:
"[John] and Mary go to the cinema."
and then go to select among the possible "John" links.
or:
"[John and Mary] go to the cinema."
and then go to select among the possible "John and Mary" links.
View 2 Replies
ADVERTISEMENT
Nov 6, 2007
i am trying to display 3 random links from a link list
<script type="text/javascript">
<!--
function ranlink(){
var links=new Array()
links[0]='<a href="" target="new">Link 0</a>'
links[1]='<a href="" target="new">Link 1</a>'
links[2]='<a href="" target="new">Link 2</a>'
links[3]='<a href="" target="new">Link 3</a>'
links[4]='<a href="" target="new">Link 4</a>'
links[5]='<a href="" target="new">Link 5</a>'
links[6]='<a href="" target="new">Link 6</a>'
links[7]='<a href="" target="new">Link 7</a>'
links[8]='<a href="" target="new">Link 8</a>'
links[9]='<a href="" target="new">Link 9</a>'
var pick=Math.floor(Math.random()*links.length)
document.write(links[pick]+'<br>')
}
ranlink()
//-->
</script>
found this code on here, but instead of only showing 1 at a time, to display 3 links
View 5 Replies
View Related
Jan 11, 2011
Is it possible to submit multiple links all at the same time using Javascript? I check all over the web and can't find any examples anywhere.
I would like to click on a button and submit to google, yahoo, msn, etc all at the same time. Like someone physically click on [url], [url],url], so on.
View 2 Replies
View Related
Mar 5, 2011
I'm doing kind of a form that at the end you can pay thru paypal. I have like a table made of anchor tags <a> and each one is styled as a table cell. What I need to do is to have the ability of multiple select this links. It would be: the user select one or more links and then a variable would carry these links name so he could pay with paypal.
View 5 Replies
View Related
Jun 4, 2009
I have coded my navigation bar so when you mouseover a button (about us- for example), it displays a sub menu using images below using a simple multiple image swap. When I mouseover another main button, the first ones are replaced with the new sub menu items-images.
All works fine, however, I cannot figure out a way to code into the existing script to assign and make hyperlinks associated with the sub menu buttons change as well. Here's my web page: [URL]
I have just the main nav button links contractor and freelancer activated right now. Here's the code below (using MM_swapImage):
<script language="JavaScript">
<!--
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++)
[Code].....
View 1 Replies
View Related
Jan 11, 2011
Is it possible to submit multiple links all at the same time using Javascript? I check all over the web and can't find any examples anywhere.
I would like to click on a button and submit to google, yahoo, msn, etc all at the same time. Like someone physically click on [url], [url], [url], so on.
View 3 Replies
View Related
Nov 22, 2011
I have 3 smaller thumbnail images and when I click on any of them, the resulting image displays in the larger image space.
The tricky part is that I want the larger image to become a link that changes, depending on which image is displaying. (I don't want the little images to be links.)
Click here [url] for a visual to explain what I am wanting to do.
Here is what I have for script...but I can't figure out the links...This script works fine, but I can't figure out how to make the larger image have 3 separate links, depending on which image is displaying in it.
View 1 Replies
View Related
Nov 18, 2007
Highlighting a single Link on MouseOver with CSS or JS is simple. But now I have several Links spread over a table. If I have MouseOver on one of those links I also want to have a few of the other links also highlighted because they are related. How would I go about and do that?
View 12 Replies
View Related
Sep 24, 2009
I have a table that looks something like this:
<tr id="1">
<td>Name</td>
<td>E-Mail</td>
[code]....
With multiple rows. Each row has a unique ID (numerical). I need to be able to click on an a.accept, find WHICH one was clicked (which row it is in), and get the ID of that row. I've been looking around and I found parent(), but I'm not sure how I can specifically get which accept link was clicked.
View 6 Replies
View Related
May 9, 2011
I have a web page wich has several list like this one:
So several ul's list wich are inside severals divs of class <div class="languages_cont" >
I need to make active the first <a> of each one this ul's and it need to be done in Js (when i say active i mean the <a> text will become bolded, so right now i've been trying using a each but no luck yet, it only selects the first it encounters.
View 2 Replies
View Related
Jan 11, 2011
Is it possible to submit multiple links all at the same time using Javascript? I check all over the web and can't find any examples anywhere.
I would like to click on a button and submit to google, yahoo, msn, etc all at the same time. Like someone physically click on [url], [url], [url], so on.
View 3 Replies
View Related
Feb 3, 2010
A JS code, "THAT WOULD SELECT MULTIPLE LINKS ON MOUSE CLICK":
Presently, i can select ONE. these codes are assigned to images, if selected they change color. But i just want help on MULTIPLE SELECTION.
View 8 Replies
View Related
Jan 27, 2010
What I have is a site with about 10 pictures, each of these pictures needs to be randomly pulled from folders, each picture slot will have its own folder, due to it being categorized. When the picture is clicked i need it to open a new page with the document associated to the picture. Is there a way to do this without having to rewrite the code every time? Because as there are new documents added at the end of each week.Unfortunately the server I use doesn't support PHP, but if it has to be done in PHP I can switch.Like I said though I haven't messed around with web design in a long time
View 3 Replies
View Related
Jan 11, 2011
Is it possible to submit multiple links all at the same time using Javascript? I check all over the web and can't find any examples anywhere.
I would like to click on a button and submit to google, yahoo, msn, etc all at the same time. Like someone physically click on [url], [url], [url], so on.
View 3 Replies
View Related
May 27, 2005
I know how to submit via a text link, using document.frmname.submit(), but you can not attach a value to the A tag, so you can't have several submit links within one form.
I need to do this however! I want to have several text links within one form - submitting to the actionpage, and based on the value of the submit, it will do something different.
Ok, so I know I can do this without problems using the input tag and submit buttons, or I could use seperate form tags for each link, but that would mean a lot of repeating code, and I want to make this as compact as possible.
View 1 Replies
View Related
Mar 22, 2011
I am getting to know jquery a little, and I am trying hide and show a div when a link is clicked.I have a page setup that has a flash video in a div on the main page. Then when a link is clicked, a lightbox window opens and plays another video. I am trying to get the video on the main page to hide while the lightbox video is playing. Then when a user closes the lightbox window, the div with the main video on the page is shown and starts playing again.So far I can get this to work with one link. But I cannot get the main video div to hide when a second link is clicked.
View 1 Replies
View Related
Jan 15, 2010
I've got a scrolling text field that runs several pages deep, and I want to pop up multiple floating divs that will appear at the site of the text links (however deep in the scroll field). I can get multiple divs to pop by calling them layer1, layer2, etc. but they all pop relative to the position of layer1 (the only one specified in the javascript file). Is there a way to get each layer to appear next to the text link that fires it? code...
View 1 Replies
View Related
Apr 30, 2010
I am new to jquery, and love it so far, but I am more of a designer, not a developer. I am learning jquery to enhance my sites, and I am having a problem figuring out buttons.
I have them working in firefox and safari, but in IE links do not work.
Here is the script I have, and the button code.
View 1 Replies
View Related
Aug 26, 2009
My menu navigation(Home, Hosting Solution, etc..)
1. The submenu links need to be centered in the middle of the div instead of aligned to the left.
2. Can the submenu links have a rounded box appear under them, instead of being underlined links. Like these at the top: [url]
3: The top tab needs to stay gray/active/on when the mouse is moved down to the submenu or when it is the active button.
Here is the link of the site [url]
View 2 Replies
View Related
Mar 10, 2010
I'm using jquery/ajax to create some links with window.open method. Here's the relevant code:
$("#content").empty();
$.ajax({
type: "GET",[code]..........
Basically, when you click a link a function is called with a parameter based on the particular link you run. Then the code runs through an xml file, and if the parent of the nodes I've cyling through has a value equal to the parameter past to the function, that node is used to create a new link with window.open function attached to it.It all works, or seems to, and when I alert what is being built, it looks right to me, yet the links don't work.I've attached a copy of one of the alerts of one of the links as it's built.
View 5 Replies
View Related
Nov 28, 2010
I have an image wrapped inside a link tag.<a href="somepage.html"><img id="content" src="img/some.gif" /></a>
I want this .click target to be the link: $('a').click(function(e){
Instead, the target returned is the image [HTMLImageElement].
I have tried using closest()and currentTarget:
But they all still return the image, not the link.
View 2 Replies
View Related
Mar 7, 2010
I've been stumped. I'm usually good at figuring this stuff out, but I'm completely confounded here.I have a form with tables in it to add items to a series. The rows are being added dynamically by Jquery on the click event.
$('#add_hybrid').click(function(){
$('#hybrid tr:last').after('<tr><td width="15%"><?=brands('hybrid');?><input name="clubtypes[]" value="6" type="hidden" /></td><td width="25%"><?
[code]....
View 5 Replies
View Related
Sep 27, 2010
I am using jquery with the cookie plugin and I have multiple image buttons that can hide/show multiple elements. My question is how can I add a cookie to this code to remember whether each separate element is opened or closed?
The code,
$(document).ready(function() {
// choose text for the show/hide link - can contain HTML (e.g. an image)
var showText='<div class="expanddown"></div>';
var hideText='<div class="expandup"></div>';
// initialise the visibility check
var is_visible = false;
// append show/hide links to the element directly preceding the element with a class of "toggle"
$('.toggle').prev().append('<a href="#" class="togglelink">'+hideText+'</a>');
// capture clicks on the toggle links
$('a.togglelink').click(function() {
// switch visibility
is_visible = !is_visible;
// change the link depending on whether the element is shown or hidden
$(this).html( (!is_visible) ? hideText : showText);
// toggle the display - uncomment the next line for a basic "accordion" style
//$('.toggle').hide();$('a.toggleLink').html(showText);
$(this).parent().next('.toggle').slideToggle('fast');
// return false so any link destination is not followed
return false;
});
});
HTML,
<a class="togglelink" href="#"></a>
<div class="toggle">
Content
</div>
View 6 Replies
View Related
Sep 5, 2010
I'm trying to search for the correct code to make my form work. I have 3 select boxes - one with 2 options, one with 8 options, and the last with 2 options... All of this adds up to 32 different url paths. Can anyone tell me how to get this done?This is what I have so far: (and yea, I know I suck... I honestly have absolutely NO clue)
<html>
<head>
<script>
[code]....
View 2 Replies
View Related
May 25, 2006
This is my first post to this forum. When a button in parent window is clicked multiple times, more than one popup window is opened. This problem is occurring in linux firefox and mozilla browsers. In windows the code is working fine. Is there any option in window.open() method to open a popup window once. s there any known issue regarding this case?. Need a workaround to fix this issue.
View 1 Replies
View Related
May 24, 2006
hen a button in parent window is clicked multiple times, more than one child window is opened. This problem is occurring in linux. In windows the code is working fine. Is there any option in window.open() method to open a child window once.
View 8 Replies
View Related