Solved

Javascript Scroll text in a coldfusion page.

Posted on 2012-04-01
9
396 Views
Last Modified: 2012-06-21
I saw this javascript scroll text.
http://www.jpowered.com/javascript/scrolling-text/index.htm

Do you know a free one where i can use it on my coldfusion website... Any idea if i can retreive msg from my table into that script?

tx
0
Comment
Question by:LelloLello
  • 3
  • 3
  • 3
9 Comments
 
LVL 42

Accepted Solution

by:
sedgwick earned 500 total points
Comment Utility
>>Do you know a free one where i can use it on my coldfusion website

it is free, i just downloaded the script and run it on a test page (http://www.jpowered.com/javascript/scrolling-text/download.htm).

>>Any idea if i can retreive msg from my table into that script?
which table?
to fully understand how the scrolling works, simply right click the page and View Source.
look for "div id="JPSCROLL_content".
the div contains all the content being scrolled so whatever msg u want to add, this is the place to add it.
now your question i believe is how to do it dynamically/programmatically?
0
 
LVL 15

Expert Comment

by:myselfrandhawa
Comment Utility
for every new content, it is just wrapping the content with DIV like this

<div style="height: 188px; border: 0px;">
<p><b>Set Different Font Styles</b></p>
<p><b>Bold </b></p>
<p><i>Italic</i></p>
<p style="font-size: 8px;">Small</p>
<p style="font-size: 12px;">Medium</p>
<p style="font-size: 18px;">Large</p>
</div>

so you can use the

<cfoutput query="urquery">
<div style="height: 188px; border: 0px;">
<p><b>urquery.column1/b></p>
<p><b>urquery.column2 </b></p>
<p><i>urquery.column3</i></p>
<p style="font-size: 8px;">urquery.column4</p>
<p style="font-size: 12px;">urquery.column5</p>
<p style="font-size: 18px;">urquery.column6</p>
</div>
</cfoutput>
0
 

Author Comment

by:LelloLello
Comment Utility
Sedwigd:

There is logo showing from them... ?
0
 

Author Comment

by:LelloLello
Comment Utility
C:\Users\someuser\Downloads\script\jpscrollingtext\GettingStarted.htm

I didn't see the text scrolling on my windows???

I'v click on the online configuration... i got that pop-up windows.
Your browser security setting could limit some features of editor. you must enable the option 'run activex controls and plug-ins. you may experience errors and notice missing features.


Do you know any other JavaScript ?
0
How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

 
LVL 15

Expert Comment

by:myselfrandhawa
Comment Utility
try to run their demo
0
 

Author Comment

by:LelloLello
Comment Utility
i've download it and it's working but when i go to there website i'm having this msg.

got that pop-up windows.
Your browser security setting could limit some features of editor. you must enable the option 'run activex controls and plug-ins. you may experience errors and notice missing features

Pls guide me to fix my ie9.
0
 
LVL 15

Expert Comment

by:myselfrandhawa
Comment Utility
i think i am wasting my time here, ok carry on guys bye bye
0
 
LVL 42

Expert Comment

by:sedgwick
Comment Utility
Can u post a screenshot of the popup?
I guess its your browser security
try google the message and look for browser security related posts
post the popup and ill look 4u
0
 
LVL 42

Expert Comment

by:sedgwick
Comment Utility
Also post the code ill try it on my browser
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

I spent nearly three days trying to figure out how incorporate OAuth in Coldfusion for the Eventful API. Hopefully, this article will allow Coldfusion Programmers to buzz through the API when they need to. Basically, what this script does is authori…
This article discusses how to create an extensible mechanism for linked drop downs.
Learn the basics of if, else, and elif statements in Python 2.7. Use "if" statements to test a specified condition.: The structure of an if statement is as follows: (CODE) Use "else" statements to allow the execution of an alternative, if the …
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now