Questions tagged [rel]

The rel attribute specifies the relationship between the current document and the linked document

The rel attribute is used in HTML elements to specify the relationship and connection between the current document and the linked document.

Source: W3C (link)

204 questions
0
votes
1 answer

How to pass XHTML a rel attr to jQuery function

I have a URL that holds a "rel" attribute that needs to be passed to a jQuery function. Here is the URL: In a jQuery function I need to retrieve the…
Jason
  • 4,899
  • 12
  • 47
  • 56
0
votes
1 answer

Correct configuration for using REL in Tridion Dynamic Component Presentations

We have a Dynamic CT to render the component output, in it there is a Component Link with link text. While previewing, the output appears to be correct but once we publish the page and hit, the link is not displayed (even the link text). Both the…
0
votes
3 answers

Check if element with class of 'X' has a rel of 'N'

If you have an element with a certain class, for example class="selected" and need to see if it has a certain rel value, how would one do that? In basic logic: If('.selected' has 'rel=6'){ //action }
Jack_D
  • 65
  • 3
  • 12
0
votes
3 answers

Dynamic rel Selector not working

I am using jquery to dynamically create an active state using Flexslider's API. Here is my jQuery: var curslide = slider.animatingTo; var parsed = parseInt(curslide); $("#pillarControl li").each(function(){ …
JCHASE11
  • 3,901
  • 19
  • 69
  • 132
0
votes
1 answer

Possible issues with sqlite3_mutex_enter(v->db->mutex) on cocoa c

I have an issue with the sqlite3_mutex_enter(v->db->mutex) error message on an iOS application. The case is the following: I developed an application that is performing a sync on the application in the background while starting up. All SQL…
nja
  • 571
  • 1
  • 7
  • 15
0
votes
3 answers

How can I get the rel value in jQuery?

I use jQuery UI drag&drop functions to select images an album. The images ID straged in the rel parameter, what I need to copy to an input element after image drop. Here is the image list. Using draggable
netdjw
  • 5,419
  • 21
  • 88
  • 162
0
votes
2 answers

Play/Show "swf" in a "a rel="""

I have this working code for IMAGES: hover here plus some javascript and css code.... so the final result is now when you hover on "hover here" it shows the actual…
Vzlotea
  • 97
  • 2
  • 12
0
votes
2 answers

How to properly hash my links rel attr so that it stays when page refreshes

I would really appreicate any help on this matter. Here is the code that I have so far: $('.Ajax_links').click(function() { window.location.hash = $(this).attr("href"); var href = $(this).attr('href'); $('#contaniner_div').load(href); …
spencer
  • 25
  • 7
0
votes
1 answer

ColorBox iframe rel (group)

im really stuck.. been sitting with this code forever now.. trying to make a gallery with ColorBox, seems very nice.. i just have one problem.. I just cant get it to be a group when using iframes...…
0
votes
1 answer

Specify relations between divs

I have a collection of fairly large page elements which, when clicked, slide out and slide in new elements. It would be nice to use tags to link the elements together, but unfortunately the content inside each element can't be expressed solely…
Kevin Burke
  • 61,194
  • 76
  • 188
  • 305
0
votes
2 answers

jQuery - Using img ID in a div REL

I'm trying (with very limited jQuery knowledge :) to animate a DIV when you hover over a thumbnail. I thought i could use the image ID in the REL to animate the DIV with that REL. For some reason all i end up is OBJECT OBJECT when i try to alert the…
Bart
  • 17
  • 4
-1
votes
3 answers

Jquery rel toggle?

Is it possible to toggle (switch) a rel attribute in the same way that classes can be toggled in jquery? http://api.jquery.com/toggleClass/ I am trying to create a button, that when clicked will change(toggle) the rel attribute of another button.…
Nate Gines
  • 345
  • 3
  • 14
-1
votes
1 answer

Non-canonical page in sitemap

I added a link tag in the header of some pages like this: But I still get the error for pages like: "https://wazedomain.com/page/disclaimer" "https://wazedomain.com/page/privacy" I read…
OnlyAUser
  • 51
  • 5
-1
votes
3 answers

Select rows from comma collected ids in a column

My db is: # item_rel id | item_ids -------------------------- 1 | 1,2,4,6,8,10 2 | 3,5,7 3 | 9,11,12 .. | ............ # items id | name -------------------------- 1 | Lorem 2 | Ipsum 3 | Sed 4 | Amed .. | ............ The problem is select…
Digerkam
  • 1,826
  • 4
  • 24
  • 39
-1
votes
1 answer

How to change REL attribute to other

I have a problem with W3 validator. Here is the code:
1 2 3
13
14