Solved

Javascript Scroll text in a coldfusion page.

Posted on 2012-04-01
9
401 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
ID: 37794839
>>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 16

Expert Comment

by:Gurpreet Singh Randhawa
ID: 37795819
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
ID: 37795933
Sedwigd:

There is logo showing from them... ?
0
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 

Author Comment

by:LelloLello
ID: 37795958
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
 
LVL 16

Expert Comment

by:Gurpreet Singh Randhawa
ID: 37796094
try to run their demo
0
 

Author Comment

by:LelloLello
ID: 37796174
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 16

Expert Comment

by:Gurpreet Singh Randhawa
ID: 37796179
i think i am wasting my time here, ok carry on guys bye bye
0
 
LVL 42

Expert Comment

by:sedgwick
ID: 37799433
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
ID: 37799436
Also post the code ill try it on my browser
0

Featured Post

Resolve Critical IT Incidents Fast

If your data, services or processes become compromised, your organization can suffer damage in just minutes and how fast you communicate during a major IT incident is everything. Learn how to immediately identify incidents & best practices to resolve them quickly and effectively.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Sometimes databases have MILLIONS of records and we need a way to quickly query that table to return the results me need. Sure you could use CFQUERY but it takes too long when there are millions of records. That is why SOLR was invented. Please …
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

809 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