Solved

Dynamic Content

Posted on 2002-06-24
19
150 Views
Last Modified: 2010-04-09
I am new to DHTML but I know enough to tweak code.  What I need to do I think is very simple:

I have an include file that has 2 table rows.  On the second row, I would like to pull a name from a file that has several names.  I will create the file so I can create it any way I need to make this work.

Does anyone know where I can find a script/code that will do this?

Thanks...
0
Comment
Question by:GiGiLove
  • 7
  • 6
  • 3
  • +2
19 Comments
 
LVL 18

Expert Comment

by:bruno
Comment Utility
where is the file in question?

can you give more info on what you are trying to accomplish here?  

it is sounding as if you will need some sort of server side scripting, what does your server support?


BRUNO
0
 

Author Comment

by:GiGiLove
Comment Utility
I know the question is not very clear so I'll try and explain a little better.  Let's nix the include file idea.

I have a file that has a table with 2 rows.  This file will be used on different content pages.

On the 2nd row of the table will be the name of a content owner.  There are several content owners so the name displayed will depend on the content.

What I would like to do is dynamically pull into this file, a single content owners name.  All the content owners names are in another file.
0
 
LVL 12

Accepted Solution

by:
lexxwern earned 100 total points
Comment Utility
to pull content i think its best to do server side. forget js or vbs or anything else client side.
0
 
LVL 22

Expert Comment

by:CJ_S
Comment Utility
agrees with lexxwern.
Serverside will be better for this, although clientside .js would also do.

Can you use serverside scripting languages like ASP or PHP?
Could you show us the data file?
Can you change the data file?

CJ
0
 
LVL 18

Expert Comment

by:bruno
Comment Utility
lexx and CJ, I mentioned server side scripting in my first comment, and the user didn't respond to the comment...
0
 
LVL 22

Expert Comment

by:CJ_S
Comment Utility
Well, I guess he knows now that he should have :-)
0
 

Author Comment

by:GiGiLove
Comment Utility
Hello all,

I'm just getting these messages as I just got back to work.  To try and understand what's going on and to answer some of the questions.

Yes, I can use ASP
Yes, I can change/modify the data file
I have not yet created the data file - I'm not sure whether to create a .js file or create a function based on an id example:(<table id=AName>)

To help clarify what I'm trying to do is:

I have a two row table which is my footer.  In the 2nd row, the content owner name will be different based on the content page.  I would like to dynamically change that name when necessary...

Thanks...
0
 
LVL 18

Expert Comment

by:bruno
Comment Utility
ok, well it's easy enough to do i suppose, but how do you know which name to pull?
0
 

Author Comment

by:GiGiLove
Comment Utility
As I was rethinking this whole thing I few moments ago...the same thought entered my mine.  I'll have to get back with my user on this...

Thanks...
0
Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

 
LVL 18

Expert Comment

by:bruno
Comment Utility
there will have to be something in the content that lets you know what name to pull..... it's hard for me to really recommend anything without knowing more about, or seeing your system.
0
 
LVL 53

Expert Comment

by:COBOLdinosaur
Comment Utility
This question has been abandoned. I will make a recommendation to the
moderators on its resolution in a week or two. I appreciate any comments
that would help me to make a recommendation.
<note>
   In the absence of responses, I may recommend DELETE unless it is clear
   to me that it has value as a PAQ.  Silence = you don't care
</note>

Cd&
0
 
LVL 12

Expert Comment

by:lexxwern
Comment Utility
bruno, or 0 point paq.
0
 
LVL 18

Expert Comment

by:bruno
Comment Utility
if GiGiLove doesn't respond, I would vote for myself....
0
 

Author Comment

by:GiGiLove
Comment Utility
I had to rethink what was going on and take a different route but I did use a server side include.

Thanks everyone...
0
 
LVL 18

Expert Comment

by:bruno
Comment Utility
hmm...didn't i say server side in my first comment?

oh wait you only gave lexx a C...nevermind, I don't want it anyways.
0
 

Author Comment

by:GiGiLove
Comment Utility
I am not trying to cheat anyone.  I'd like to give credit where credit is due.  If I missed your comment, I truly apologize.

I will ask to have the points split...
0
 
LVL 18

Expert Comment

by:bruno
Comment Utility
quite alright, don't worry about it.  
0
 
LVL 12

Expert Comment

by:lexxwern
Comment Utility
humff...


c grade for repeating a comment. as long as there's a bug in the profiles script, im happy.

but you owe bruno points man...
0
 

Author Comment

by:GiGiLove
Comment Utility
I agree and I did ask customer support to split the points between the two.  Bruno, if you do not get your points, please let me know...
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Do you want to insert HTML5 video into your site? This is the tutorial how to do so. What are the main advantages of HTML5 video? 1) Have good compression, good image quality, and low decode processor use. 2) It is royalty-free 3) It is easi…
Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
In this tutorial viewers will learn how to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

772 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

15 Experts available now in Live!

Get 1:1 Help Now