I’m having a problem with the WP menu system stripping out the “rel” info I need passed onto an anchor tag.
I’m using shadowbox for a video that will launch directly from the navigation and to trigger the shadowbox, I need to add “shadowbox” to the rel tag. This works fine but I also need to set the video display size….
But instead it’s passing through as:
Anyone have a suggestion of the best way to tackle this problem?
But the rel attribute is not for that, i guess you can´t pass a variable separated by ; into that.
Why you don´t put that info on parameters on the url path? Like so:
Then via jquery you can manipulate that parameters to make what you need.
This way you can still use the XFN to put the rel=shadowbox only.
Thanks rg. I was trying to work within the parameters of the shadowbox plugin which adjusts the video size via the rel attribute. I wanted to avoid having to manipulate it with jquery but I’ll consider your suggestion.
Using jquery you can easily get the parameters from the url path and put them into rel attribute on the fly. I think is the best and also you will have a valid html.