I'm trying to make a news slider for a website in js. This is what I currently have:
<script type="text/javascript">
var refresh = setInterval("refresh()", 5000);
function refresh()[code]....
The id #top_news is an empty div, in which the news are shown, and the file top_ten.php gets top 10 news from the database, and outputs a random one. The script is working fine, but what I want is, for news to slide in and when a new article slides in, the old one slides out. It would be even better, if there is an excistant script, for news or divs (a small image and text).ALSO, when I refresh/load the site, it takes the time from setInterval, to load the news.
I try to make a news slider with cycle plugin here's the structure //---------------------// <div id="myNewsDisplay"> <ul id="aContent"> <li>short text</li> <li>moderate text</li> <li>long text</li> </ul> <div id="aFooter"></div> </div> //---------------------// I want to make the #myNewsDisplay to animate height based on #aContent height the problem is that, everytime the news showing up at the beginning the height is automatically set by the last long text height. How to make the #myNewsDisplay height auto adjust the height of every news height?
Does anyone have guidance as to how BBC News (http://news.bbc.co.uk/) generates its news ticker "Latest" that appears at the top of the screen? I am interested in creating something like this for my site.
I recently found a slider which I want to use for my website. The slider is extremelly simple and exactly what I need. Although I need to make it slide automatically while still keeping the buttons.
I have an idea for a website that I'd like to pursue, and it would need functions such as:
-Live news feed
-Member logins, profiles, ability to rate/leave feedback for members
-Mobile phone friendly
-Comment on postings
-Create an intro video (maybe even with animated stick figures to explain how the site works)
-Accept paypal or other payment method
-And basically, need to understand the monthly maintenance cost of all these functions, how to minimize expenses, etc.
how would I begin implementing a site like this.. Do I need to find a programmer to code it from scratch? Are there pre-written scripts available for all the functions I listed? What can I expect the costs to be?What's the best way to move forward?
I am currently working on my own company's website I am currently working with the FAQ page and I need to make a simple textbox, where visitors can type and ask a question and submit it, the question the visitor typed needs to be read by javascript from a seperate xml file which should be read with javascript.Now i dont know how to start with this
I am a novice jQuery user and I was assigned a job to create an interactive map for a website. I want to make a simple nap, but I have no idea where to start. I am trying to make a simple map (as attached) so when a user comes to a homepage, the map would be visible. Then when the cursor is rolled over the map, different states appear in different color and when clicked, the user is taken to another page. Sounds simple, but I cannot find any useful info.I do not want anyone posting any codes, I want to try to do it myself.
I am trying to make an xml file download from my website, so the saveAs window will be open, I checked the forum and found the following code. but instead of saving the xml file it saves the html file.
<html> <script type="text/javascript"> function forceSaveAs (filename){
[code]....
I also try to send the xml with the following header but with no success
I need to provide the ability for a user to login and make a posting for announcements. I have done some searching and haven't really came up with anything that will work. I am using a script that is external to the web page that will display the message. My idea was to create a Div that contains a multi-line text box within it. I thought it might be possible to use innerHTML to post a message from a form to the web page that has this text box. Is this a good approach or is there a better way? I am trying to move away from using a CMS for this particular site.
i downloaded a Facebook Page template recently. the template works great, but i wanted to add one thing.here is the demo of the code: http:[url]....
here is where you can download the template: http:[url]....anyhow, the part i want to change is the link that directs it to the content. for example, when you scroll over About Us, the little pop up from the bottom comes out. when you click it, it takes you to the About Us content. what i wanted to do, is make it so that when you click the whole jpg, it can take you to the content also. i noticed that the small link that pops up is too tiny and people get confused on where to click.
I want to make a statistics script for my website by javascript. I know that I can do it by this script: <script type="text/javascript" src="[URL]"></script> But I need to pass some parameters to stat.php for example I need pass the value of window.location.
I have a site where I want to show a html code if the the url is www.tld.com/pris/*anythinghere* but not if the url is TLD Information Technology specialists without anything more. Example: I go to CNN.com - Breaking News, U.S., World, Weather, Entertainment & Video News -> nothing shows, then I move on to[url].....the html code shows.I know how to do this with php but I have to use javascript here.
can someone please give me som ideas or anying using javascipt to make the website look attractive or professional? something simple nothing to do with navigation or anything like that.
i am trying to make a horizontal site using localScroll:[URL]when i click in a link from the fixed menu in the left, the box scrolls below the menu. It is possible to make the box appears entirely?
i'm trying to make the module for users online in my website i've used ajax to call database and update the persons table with the status of the users when he enters or leaves the page here is my code in the <body> tag :
I want to play a video at a particular time in our website(Automatically) like i might want the embedded video to be played at exactly 9:00 A.M . How can i do it.