Walter, do you have any plans to make this available to us. From the recent comments it seems to work universally.
Thanks,
Martin
Signal Mountain, TN
On Feb 3, 2011, at 8:59 AM, waltd wrote:
It’s not a slider, it’s a direct copy of the Apple Hot News animation effect from their home page. I’m using the Scriptaculous Fade and Appear functions. If you wanted a wipe effect, that’s certainly possible, although I’m not sure how you’d get one to uncover the next.
Here’s how to do this right now, before I get a fancy Action together for it. You can paste the code below into Protaculous and have your cake now.
Apply Protaculous to your page. Draw an HTML box where you want your news to appear, and put a single paragraph of text in it styled the way you want that news to look. If you want to have a fancy link style, apply it to the box using the Link Style segment of the Item Inspector.
Make note of the name of your HTML box (probably item23 or similar, unless you changed it to news or similar).
Draw another HTML box somewhere on or off the page. Make sure it’s a layer. Inside this box, either create a list or just a set of paragraphs for your news items. Each list item or each paragraph will become a single news item. DO NOT STYLE THIS TEXT AT ALL. You may apply links, but do not style them either. (If you really must, you may use bold or italic inline within your news item. Any global text style should be applied in your news box as above. Make a note of the name of this box as well.
In the Protaculous Action, click on the top Function Body button and paste in this code:
Change the four variables at the top of the script to match your layout and your preferences.
In the first line, change the word data to match the name of your HTML box containing the actual news items.
In the second line, change the word news_area to be the actual name of the HTML box you drew where your news will appear on screen.
In the third line, set the delay (in seconds) for each of your news items to remain on screen. You’ll have to balance the reading speed of your average audience with the length and complexity of your news items.
In the fourth line, set the time (in seconds) that the effect should take to fade out the news before fading in the next story. The entire effect takes twice this long – 0.6 means the total fade time is 1.2 seconds.
Walter,
I did my best, but so far unsuccessful. Followed instructions above, but when I preview my site, I only see the first line of text (news) which is in the data html item. Fortunately this item is not visible, so I am doing something well, but it is not changing from news1 to news2 etc. I think it has something to do with the way I placed the news in the data html item? Or…in the action window: do I have to choose an option from ‘use library:’.
On another website I tried it as well. There it is not working at all; but could that come from my other actions applied there: spawn new window. Could there be a conflict?
Sorry, left out an important direction, thanks for reminding me. In
the Protaculous Action interface, choose scriptaculous-packed from the
Library picker.
Walter
On Feb 4, 2011, at 8:12 AM, Wimdg wrote:
Walter,
I did my best, but so far unsuccessful. Followed instructions above,
but when I preview my site, I only see the first line of text (news)
which is in the data html item. Fortunately this item is not
visible, so I am doing something well, but it is not changing from
news1 to news2 etc. I think it has something to do with the way I
placed the news in the data html item? Or…in the action window:
do I have to choose an option from ‘use library:’.
On another website I tried it as well. There it is not working at
all; but could that come from my other actions applied there: spawn
new window. Could there be a conflict?
Thanks! it’s working just fine now on one of my websites.
Unfortunately on the other site I still have problems. The html data item with the news lines is visible in the browser and the other item is showing the ‘fake’ text. So I think here is nothing working. Done all exactly the same as my other site!
Only thing is; where it is not working there are hyperlinks with the Spawn New Window action. Could that have anything to do with the problem?
Could you post a link? I don’t believe so, but it’s always possible.
Walter
On Feb 4, 2011, at 8:56 AM, Wimdg wrote:
Walter,
Thanks! it’s working just fine now on one of my websites.
Unfortunately on the other site I still have problems. The html data
item with the news lines is visible in the browser and the other
item is showing the ‘fake’ text. So I think here is nothing working.
Done all exactly the same as my other site!
Only thing is; where it is not working there are hyperlinks with the
Spawn New Window action. Could that have anything to do with the
problem?
Link to page which is not working: http://www.vanwalsum.nl
It’s in Dutch; you can see the news line which is the static ‘fake’ text and I have changed it to English, for you to find it!
In the bottom you can see my newslist.
This site is for a client
The other link to the working site: http://www.appadvies.nl
This is my own site; I am building it gradually. I am busy with turning concepts into apps for iOS for clients and just started. Like to hear also any comments on the overall appearance of the site, since I am posting these weblinks!
This page is not getting either of the links to the “Scripty”
libraries added to its head for some reason. Could you try holding
down the Control key while choosing Publish from the main menu?
(Publish will become Publish everything) If that doesn’t work, you
could try removing the Protaculous Action (copy out your code first)
and publish once, and then re-apply the Action, choose scriptaculous-
packed from the Library list, and paste your code back in, publish
again, and see if it works then.
Walter
On Feb 4, 2011, at 9:30 AM, Wimdg wrote:
Link to page which is not working: http://www.vanwalsum.nl
It’s in Dutch; you can see the news line which is the static ‘fake’
text and I have changed it to English, for you to find it!
In the bottom you can see my newslist.
This site is for a client
Can you create a single-page failing case, and mail it to me?
Duplicate the document you’re using to create this site, open the
copy, delete all the pages except the home page, publish into a new
folder, make sure it still fails, and then send me that one-page
document. If you’re a mail subscriber, then you know my e-mail
address already, but if you’re a web subscriber, just click my name in
the upper left corner of this message.
Walter
On Feb 4, 2011, at 10:19 AM, Wimdg wrote:
Walter,
Sorry, no succes. I tried it exactly as you suggested.
I already was busy replacing the Spawn New Window action!
So I have no example for you.
Good thing is: with the text link action in place, I don’t miss functionality and the news animation effect now works fine!!!
I can still send you the site page?
But maybe you can simulate the situation by applying the Spawn New Window action on a test site.
Sure. That would be useful information. I didn’t see any other errors
in your page besides the completely missing Prototype and
Scriptaculous libraries. What version of SNW are you using there? Is
it the latest version available at ActionsForge?
Walter
On Feb 4, 2011, at 11:08 AM, Wimdg wrote:
Walter,
I already was busy replacing the Spawn New Window action!
So I have no example for you.
Good thing is: with the text link action in place, I don’t miss
functionality and the news animation effect now works fine!!!
I can still send you the site page?
But maybe you can simulate the situation by applying the Spawn New
Window action on a test site.
Walter,
I tested with SNW 4.0.1 but no good results. It only works without the SNW action applied.
I just emailed you the test pages. Besides that, I do like the news animation effect! And for me text link to new windows is fine! Must say I used SNW because I thought it was the only solution for a hyperlink in a new window. This problem made me think about a similar action! I never new there was one already within the freeway package.
If I’m the Rice you’re talking to :-), yes, I did get it working just fine, first attempt exactly as described. BUT not the ticker tape as on the FW front page – just realized you were talking now about the original thread. Well, there, too, I did get it working easily on my Mac in Safari but there were so many browsers it didn’t work in that I gave that up. about that. What I got working easily was the Protaculous type that changes sentences rather than has them go across as a ticker tape.
Thanks,
Martin
On Feb 6, 2011, at 2:47 PM, Richard Houston wrote:
On Feb 1, 2011, at 1:13 AM, Rice Martin wrote:
But where is it? … when I have the item selected (an html box that has the text) it’s not in the menu.
Rice and Colin,
Did you ever get this to work? I wasn’t able to find it in any of the menus either. And, the icon for the action wasn’t right.