Register Advertise with usHelp Desk Today's Posts Search

Closed Thread
Thread Tools Search this Thread
Unread 22nd Nov 2012, 08:48 AM   #1
Say it with me... Ommmm
 
ky999's Avatar
 
Join Date: 2008
Location: Kentucky USA behind my editor screen
Posts: 27
Thanks: 20
Thanked 7 Times in 6 Posts
Post
Coding a Web Page To Show New Items on Each Visit
Share on: 
fb share twitter share gplus share more share

How Do I code a page that will show something new for each visit or refresh.

I noticed on a lot of freelance jobs I get, they will say go to this page wwwdotsometing and get a keyword from there......

Well each time the page loads, it shows a fresh "keyword". How can I code a page to offer a new piece of text for each page load.

Does this make sense? Is it easy to do. It seems like I did something like this for alternating banner ads in the past, but I can't remember -- and I lost that hard drive
ky999 is offline  
Unread 22nd Nov 2012, 09:22 AM   #2
Warrior Member
 
Join Date: 2012
Posts: 9
Thanks: 0
Thanked 1 Time in 1 Post
Default
Re: Coding a Web Page To Show New Items on Each Visit
Share on: 
fb share twitter share gplus share more share

you can do it with sessions variable you can set a variable that showed text id
and when refresh the page control the session variable and increare or decrease id
my be also use random number

may map appicaitons haritaaraci.com
muratsal is offline  
The Following User Says Thank You to muratsal For This Useful Post:
Unread 23rd Nov 2012, 06:39 PM   #3
HyperActive Warrior
War Room Member
 
Join Date: 2012
Posts: 148
Thanks: 11
Thanked 30 Times in 26 Posts
Default
Re: Coding a Web Page To Show New Items on Each Visit
Share on: 
fb share twitter share gplus share more share

Originally Posted by ky999 View Post

How Do I code a page that will show something new for each visit or refresh.

I noticed on a lot of freelance jobs I get, they will say go to this page wwwdotsometing and get a keyword from there......

Well each time the page loads, it shows a fresh "keyword". How can I code a page to offer a new piece of text for each page load.

Does this make sense? Is it easy to do. It seems like I did something like this for alternating banner ads in the past, but I can't remember -- and I lost that hard drive
What you are describing is what most server-side languages provide. PHP, ASP.NET, JSP, etc.

In order to make such dynamic web-sites, you'll generally need to go beyond HTML and JavaScript. This isn't completely true, because with things like JQuery, you can create plenty of dynamic sites, provided that you have another site you can grab information from.

But in reality, 99.99999% of all sites that provide any reasonable amount of dynamic content are using a server side language of some sort.

You are going to have to learn how to program PHP probably at a minimum (and it is probably one of the easiest if not the most prevalent framework) to accomplish what you'd like to do. Given that it is free, can be edited on notepad, and is supported by virtually all hosting companies, it is an easy choice.

Alternatively, you can hire someone to do it for you.

kenzik is offline  
Unread 1st Dec 2012, 05:38 PM   #4
Say it with me... Ommmm
 
ky999's Avatar
 
Join Date: 2008
Location: Kentucky USA behind my editor screen
Posts: 27
Thanks: 20
Thanked 7 Times in 6 Posts
Default
Re: Coding a Web Page To Show New Items on Each Visit
Share on: 
fb share twitter share gplus share more share

Hi, I am not going to be able to learn PHP in order to alternate an image or link or keyword on an html page. I'm too dumb for that. Thanks anyway. I will try to visit a javascript site or something. I've lost a lot of memory on this for some reason. I appreciate the suggestions, though, so thank for trying to help me out.
ky999 is offline  
Unread 1st Dec 2012, 10:49 PM   #5
Greg Miranda
War Room Member
 
CreateSoft's Avatar
 
Join Date: 2011
Location: San Diego, CA, USA
Posts: 25
Thanks: 1
Thanked 14 Times in 11 Posts
Default
Re: Coding a Web Page To Show New Items on Each Visit
Share on: 
fb share twitter share gplus share more share

With JavaScript (or jQuery), you should be able to randomize the content (or keyword) of the page each time it loads. If you have a large enough list of keywords the odds are pretty small that you will have the same page show up twice in a row.

Downline built on Auto Pilot. No recruiting required. Click to find out how!
CreateSoft Group - Software Development Services
CreateSoft is offline  
Closed Thread


Bookmarks

Tags
coding, items, page, script, show, visit, web, web page


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -6. The time now is 08:47 AM.