Using the jquery cycle code to display fade images in exactly as the demo shows. So far, so good.But, I want to add some 'static' text that doesn't fade with the images and will 'wrap' around those images. So, I want the images on the left and some text on theiright which will wrap around the images.
I know it it a bit of fighting against the idea of jquery cycle, but for the jquery cycle script I need to generate a wrap around every 4 dynamicly created (wordpress posts) div's of the same class, so every slide shows actually 4 dynamic slides at a time.
For example, If the following posts are generated:
It actually needs to generate this:
I've already managed to get this, of which I think i'm getting close:
<li>This header of sublist <ul><li>item1</li> <li>header of subsublist
[code].....
Now I would like to wrap the text and only the text (i.e. 'This header of sublist', 'item 1', 'header of subsublist','item2.1') in a <span> tag. I tried $('li', his).wrapInner('<span class="test"></span>') but that includes the ul element as well, which I would like to exclude.regards,
[URL]..I want to wrap some html code to user's selected text inside the textarea, I tried the code in above url but it seems not work in IE, is there a plugin of any way to make it work?
How can I wrap text inside a select box? or perhaps I could allow the select box to flow over the div its in. That might actually be better now that I think of it :)
I have been trying to figure out how to find all instances of a certain word or phrase within an element and wrap those words in <span> tags or other html. I.e. change all instances of 'the keywords' to <span>the keywords</span>So far I've found a lot of references to :contains() but that will change the element the text is inside of rather than just the text itself
I am trying to wrap <a> tags around text in <li> elements. How can I get the index of the <li> in the <ul>? I tried something like this: $('.tabbed-list li').wrapInner('<a></a>'); That works fine. However, I want to do something like this: $(this).wrapInner('<a href="#' + $(this).index() + '"></a>');
I am using the Jquery Cycle plugin found here: [URL]
I want to change the controllers on my slideshow. At the moment I have next / prev buttons
I want to use a series of dots or bullets which represents each image. Also want the slideshow to be cycling through the images automatically. Can I colour each dot individually?
here is the current slideshow i need to adapt: [URL]
I have to wrap text in a td in firefox. My text is long single word like How can I wrap it to fit the width of the td. At the moment it is expanding the width of the whole table.
I searched about this problem over Internet and found the same result many times, I found this example on stackoverflow [URL] but this example didn't work in my project; I am making a toolbar with buttons that insert HTML tags around the selected text in a <textarea>, this exemple didn't work because when the user click on a button the selected text won't be selected anymore because <textarea> loses focus and selected text will be unselected, I am targeting Firefox and compatible browsers so you don't need to give me the IE code; jQuery codes are accepted;
If I were to using single images, I would use CSS 'float left' to have my text appear on the right side of the image, but with JS I cannot seem to do this.
My text drops below the slideshow and then I have this ugly white area to the right of my slideshow. I have tried MANY scripts and just cannot figure this one out.
The script I am using now has the main scripting in the <head> section, but this is what I have going on in the <body>:
This scroller shows images that fade out to be replaced by other images of the same size. I would like to wrap text around the slideshow.If the slideshow were an image, all I would have to do is:
I have yet to be able to do this successfully. I am using the Cycle Plugin to cycle through a series of images and corresponding caption. To show the images, I use:
Problem: The captions do not effectively cycle. What appears is the first caption from php the_excerpt but it does not change to the next php the_excerpt text. Can I solve this problem so I get the text from php the_excerpt to correspond to each image??
how to properly add some text content before and after a user's selection?I am working with the TinyMCE editor, and I can get the following from it:
* User's selection as a W3C compatible range * User's selection as a browser selection object * User's selection as a node (element) that encompasses the user's selection
I also need the user's selection to remain selected after being wrapped.I've looked all over the web and could find nothing (except running into my OWN previous questions about this).Here's an example of what I'm trying to do:
[URL]
First line is original text, second line a part is selected, third line the selection is wrapped and the selection remains selected.
i'm doing a forum and i want it to have button that wraps the text with , i mean when the text is selected it will wrap the selected text with [quot] in the beginning and [/quote] in the end, but if non of the text is selected i want it to just write [quot].
I am using the cycle plugin to vertically scroll images with text overlays on a WordPress homepage. I position a div with a semi-transparentbackgroundto darken behind the text The div style uses abackground-image with the -moz-linear-gradient and for IE it uses filter with the microsoft gradient. I thought it might be a problem but it actually works half the time. When a new slide appears and scrolls down the text background is completely transparent - through to the page background. The text over the background is also faintly visible. Once the new slide is in position however, the background and textappear as intended. The suprising point -while theslide is being removed the text and background display perfectly.
I have the basic functionality of the jquery cycle plugin working. I have set up a test page at here but was wondering what would I need to change in order for the paging to resemble page.
I am trying to adapt the addSlide demo 5 [URL] but instead of using buttons created by css I wish to use images.
So I'm largely okay with that, have found the #nav container and defined my background-image images but these are overwritten by textual digits and I'm not sure where these are generated from. Most likely something in my main.js file though I can't figure out what exactly. I'm using cycle as follows:
$(function() { var stack = []; // preload images into an array for (var i = 3; i < 5; i++) {
I'm building a jQuery cycle slideshow into a Wordpress post. The slideshow will cycle through images attached to the post, and the final slide will always be a text box (generated by a meta box).
I'm trying to build a Pager that would display numbers (as per default), but for the last slide, the pager button would simply be "Text".
e.g.
1 2 3 4 5 Text
I have explored PagerAnchorBuilder but am still struggling.
I have the cycle plugin running, works fine on all but IE7 (not catering to IE6). The pager elements on the right do not appear in IE7. I have tried adjusting the z-index, etc., but can't figure it out.
Also, the caption text transitions in with bolded elements properly appearing, and then they flip to regular text (the whole line of text transitions a bit strangely).
I am having an issue with pausing the cycle from links within the cycle. I have set up a cycle that contains a html contentent including a 'video playlist'. This is a javascript based list that updates a flash video player with a new video inside the cycle. The videos are loading fine, but for some reason when i call the cycle 'pause', it dosent work? i have testing the $('#feature').cycle('pause'); from a link outside the cycle and that seems to be working, but it seems to be from the links inside the cycle content. here is the code i am using (i have made a custom crossfade transition)
function feature() { $('#featuretitle').hide(); $('#feature').after( '<div id="featurenav"></div>'
I am creating a small CMS module for a client. I created a little form and when they click Submit, it goes straight out into an include (.inc) file, which is connected to the web page to be displayed.
The trouble I am having is that I'd like to create an additional button that will insert some text (certain html tags to make their life easier, etc) - I got it to work, actually. The script executes and the text is inserted - but once the script runs and the page refreshes (or whatever it does), the text then disappears. The only way I can seem to get it to stay put is when I use "onmouseup" instead of "onclick" - which means that every time the user accidentally mouses over the thing, it inserts the text.