Any Ideas on how to add text to an adrotator? Not Alt text but real text?

Interested in content changing when people come to my website, mainly promotional items for sale like 5 chairs for sale

and a different one to come as a random ID is called. I can not find anything on it.

maybe a small html plaeg to plug in.

Any Ideas Anyone?

Jonny

0
101jonny
8/30/2008 3:47:31 AM
asp.net.web-forms 93655 articles. 6 followers. Follow

16 Replies
897 Views

Similar Articles

[PageSpeed] 47

 you can refer the following link:

http://www.aspdotnetcodes.com/Asp.Net_AdRotator_Database.aspx 

0
Kinjal
8/30/2008 6:20:12 AM

 http://www.wwwcoder.com/main/parentid/261/site/5868/68/default.aspx

first hit from this search:

http://www.google.com/search?hl=en&client=firefox-a&rls=org.mozilla%3Aen-US%3Aofficial&hs=ace&q=adrotator+asp.net&btnG=Search

 and another:

http://www.aspnettutorials.com/tutorials/controls/adrotatorcontrol-csharp-aspnet.aspx

0
jm2
8/30/2008 6:23:43 AM

I am trying to ad text into the adrotator is the question.

I know how to display images, thanks for pointing that way for me, but I am wanting to know if a way to display text instead of images with alt text.

Any ideas let me knoy

J~

0
101jonny
8/31/2008 5:00:26 AM

101jonny:

I am trying to ad text into the adrotator is the question.

I know how to display images, thanks for pointing that way for me, but I am wanting to know if a way to display text instead of images with alt text.

Hi 101jonny,

After test again and again, it is impossible with the standard adrotator.

But you can write one by JavaSctipt, please refer this link,

http://www.brettb.com/js_banner_ad_rotator.asp


Hong-Gang Chen
Microsoft Online Community Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
0
Hong
9/3/2008 7:28:09 AM

I do not think that will work, I apreciate the Idea though

How would I create a html frame that would change based on a random call?

Is this possible?

Please help I am a newb butI know this stuff has unlimited posabilities!

Hong-Gang Chen Thank you much for you help I hope you can answer this one last question

Good Day to you

~Jonny

0
101jonny
9/3/2008 8:35:00 AM

 Yes, this is a way!

And see the code,

 

<%@ Page Language="C#" AutoEventWireup="true" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>AD</title>

    <script language="javascript" type="text/javascript">
    function getRandomURL(){        
        var URLs=new Array(3);
        URLs[0]="a.htm";
        URLs[1]="b.htm";
        URLs[2]="c.htm";
        var index = Math.random();
        index = Math.round(index*2);
        document.getElementById("iframeURLs").src = URLs[index];
    }    
    </script>

</head>
<body onload="getRandomURL()"> 
    <form id="form1" runat="server">
    <div>
        <iframe id="iframeURLs" scrolling="no" frameborder="0" width="800px" height="200px">
        
        </iframe>
    </div>
    </form>
</body>
</html>
  
Hong-Gang Chen
Microsoft Online Community Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
0
Hong
9/4/2008 2:21:40 AM

This is exectly what I am looking for.

Is there a way to stuff taht into a master page to be able to plug-ing were ver the master page is.

 

Jonny

0
101jonny
9/4/2008 3:02:11 AM

101jonny:

This is exectly what I am looking for.

Is there a way to stuff taht into a master page to be able to plug-ing were ver the master page is.

 

Jonny

 

Hi Jonny,

Yes, I think so, and you can do it yourself. Wink


Hong-Gang Chen
Microsoft Online Community Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
0
Hong
9/4/2008 5:30:43 AM

when implementin your code I do not get anything to display what is the deal

It does insert a Iframe but nothing else?

please explain.

~Jonny

0
101jonny
9/4/2008 7:10:14 AM

 Hi Jonny,

Please create the following file in the root of your website,

        URLs[0]="a.htm";
URLs[1]="b.htm";
URLs[2]="c.htm";



Hong-Gang Chen
Microsoft Online Community Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
0
Hong
9/4/2008 8:21:02 AM

your code does definetlelry works!!!

But one last Q? before we part . PLEASE!!!

Is it possible to plug that into a label, the reason being is that the text is not actually on the page.

I apreciate the help you have provided me.

Jonny

0
101jonny
9/4/2008 8:56:26 AM

101jonny:
Is it possible to plug that into a label, the reason being is that the text is not actually on the page.

Hi Jonny,

What do you mean?  Can you give me more information? 

 


Hong-Gang Chen
Microsoft Online Community Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
0
Hong
9/4/2008 9:52:12 AM

It is the exect same thing you created just can you do that same thing using a label instead of the iframe

can you get the A.htm, B.htm, or C.htm to be displayed on the web page as a label to view the A.htm page

I hope that is descriptive enough.

~Jonny

0
101jonny
9/4/2008 7:51:38 PM

Please test my code, and create a.htm, b.htm and c.htm, and just put a,b,c to each page, and you will get what you want.Smile


Hong-Gang Chen
Microsoft Online Community Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
0
Hong
9/5/2008 9:57:51 AM

The code does not work using a label instead of the IFRAME?

are you sure.

You know I  am talking about a label right?

~jonny

0
101jonny
9/5/2008 4:32:57 PM

Still havnt figured it out....

 

Is this possible?

0
101jonny
9/7/2008 2:23:49 AM
Reply:

Similar Artilces:

Text as text
Name: JohnA Boice Email: jaboiceathughesdotnet Product: Firefox Summary: Text as text Comments: You need to do as Safari does and make ALL text, including buttons, links, bookmarks, and general page text actual text so screen readers can interpret and voice the text. Until this occurs, your products are a real pain to use. And I have limited sight. What about those with less or no sight? Browser Details: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3 ...

ADD text to text on database
hi, im using visual web developer and visual Basic how do i click a button and ADD the text in a textbox to a text stored in  my sql database. i can use formview and can 'replace' the text on the database but how do i ADD it or APPEND it to the text on the database? ALSO how do i replace the "update" hyperlink kind of button that is in formview... witha standard click kind of button? thanks...Happiness is a skill...

Bold Text For Selected text in Text Box
Hi EveryoneI have a small thing to do [at this time , very big for me]. I want to make some text string as bold which appears in a text box control for the web. It means some of the portion of the string will be bold and some will be in the normal font style. Can anyone suggest any idea to accomplish this task. [I know that we can set the font weight property for the whole text box and all the text appears in the selected font-weight]Any suggestions.BaberBaber SaeedSoftware EngineerPalmChip, Pakistan Toll Free: 0800-000-13 Ext:494Cell: 0300-6438634 Standard TextBox that comes with ASP.NET ...

Text not appearing when typing the text into text field
Name: Maadhavan Email: madhavan_t_patyahoodotcom Product: Firefox Summary: Text not appearing when typing the text into text field Comments: Text not appearing when typing the text into text field or any other field Browser Details: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.9) Gecko/2009040821 Firefox/3.0.9 From URL: http://hendrix.mozilla.org/ Note to readers: Hendrix gives no expectation of a response to this feedback but if you wish to provide one you must BCC (not CC) the sender for them to see it. ...

How do I block a user from entering text in a text box if they type text in another text box?
I have two text boxes, and want the user to complete one or the other.  How can I "grey out" one text box if a user starts typing in the other textbox?  Never make important decisions on a Monday! You can use the OnTextChanged event of the textboxes and write Javascript for both textboxes to disable the other textbox when the user starts to type in something in one textbox. The only problem with that is that once the user starts to type in something in one text box the other textbox gets disabled and locks up, so now the user HAS TO compulsarily type what he wants in th...

Copy web text fr FF2 PASTE to outlook text mail msg get an attachment not text
I never had this problem with IE. When I copy text from a web page and try to paste it as text into an Outlook2000 TEXT mail message, it instead is rendered into an attachment to the message. I just want to paste the text. Does anyone know why this happens, better yet - how to fix it? Currently I have to past the text into a text editor, and then recopy that into my Outlook mail message. This is getting old fast. Thanks in advance. Sandalls On 2/23/2007 5:01 PM On a whim, Sandalls pounded out on the keyboard > I never had this problem with IE. > > When I co...

Text problem
Name: Alex Email: vengeance.mx_at_gmail.com Product: Minefield Summary: Text problem - bold text overlaps plain text Comments: Here's a screenshot that should give you the general idea of what's wrong - bold text (and I think hypertext, possibly other types of text, too) overlap plain text on my Mac. It's been like this since Firefox 1.5 and has never been fixed: http://www.birchlabs.co.uk/OverlappingText.png Browser Details: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.9a1) Gecko/20061031 Minefield/3.0a1 ...

Text atop text
Name: Eric Lee Elliott Email: eric_at_eric-elliott.com Product: Firefox Summary: Text atop text Comments: Minimum font size set 16 points. Font set Arial & forced to be arial. Many webs over write text on text, defeating settings for readability. Webs often drawn in 0.5 to 0.7 of my screen, not full screen & place text atop text or atop graphics. Am I just missing a way to expand whole web page for readabilty? Also need way to set menus & drop down lists to have white background for readabilty. Choice now is let web set on colored background or force clear ...

How do I get the Text of a Text ....
That may sound confusing, but I need to get the text of a Dynamically created text object. For each row the Text objects text might be somthing different, and when I loop through all the rows, I need to see if any of them are a certain Word. When I used Getitemstring, it doesn't like it. dw_1.Describe( 'text_control.text' ) will give you the .text attribute of a text control in a datawindow. How are you getting different values for the .text attributes on different rows? Using an expression or something? -- Paul Horan[TeamSybase] VCI Springfield, MA www.v...

length or trim ? how can i get textbox.text as text that publichouse to textbox.text as text that public ?
hello friends length or trim ? how can i get textbox.text as text that publichouse to textbox.text as text that public ? second example is ..... textbox1.text is greenhouse.. i want to get green from textbox.text cheer Mark as me if my question or my answer can be helpful for you :) Hi,you can always perform a Trim to a retrieved string to delete the leading and trailing space characters. For your second example where you want to gt a part of the retrieved string you can use the SubString method of the String class.Grz, Kris. Read my blog. Handy Firefox plugins for web developers.Workar...

superreview granted: [Bug 285285] Add SINGLE_LINE state to single line text inputbox : [Attachment 176741] Clean up form control and text field state code, add single line extended state support
Henry Jia <Henry.Jia@sun.com> has granted Louie Zhao <Louie.Zhao@sun.com>'s request for superreview: Bug 285285: Add SINGLE_LINE state to single line text inputbox https://bugzilla.mozilla.org/show_bug.cgi?id=285285 Attachment 176741: Clean up form control and text field state code, add single line extended state support https://bugzilla.mozilla.org/attachment.cgi?id=176741&action=edit ...

replace the text after some text.
Hi friends, I had a word file. it contains some text. in the text i need to replace text after the tag name (<name>).  for eg  the document file contains the text like this <name>XXXX but i need to change the text "XXXX" to "YYYYY" <name>YYYYY The <name> is same in all word file which i have, but the names after the <name> are different. object nullobj = System.Reflection.Missing.Value;            Microsoft.Office.Interop.Word.ApplicationClass wordApp = new Micr...

Text overwriting text
Name: John Fowler Email: john_at_seo-gurus.co.uk Product: Firefox Summary: Text overwriting text Comments: I have a html source page which loads perfectly from double-clicking the local file, but once hosted by the ISP has the text over-writing problem seen in earlier versions of Firefox, but cured by me in this code by adding boxes and clear. Any ideas? Browser Details: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b4) Gecko/20050908 Firefox/1.4 ...

superreview requested: [Bug 285285] Add SINGLE_LINE state to single line text inputbox : [Attachment 176741] Clean up form control and text field state code, add single line extended state support
Louie Zhao <Louie.Zhao@sun.com> has asked Henry Jia <Henry.Jia@sun.com> for superreview: Bug 285285: Add SINGLE_LINE state to single line text inputbox https://bugzilla.mozilla.org/show_bug.cgi?id=285285 Attachment 176741: Clean up form control and text field state code, add single line extended state support https://bugzilla.mozilla.org/attachment.cgi?id=176741&action=edit ...

Web resources about - Any Ideas on how to add text to an adrotator? Not Alt text but real text? - asp.net.web-forms

☕️ Hot Chocolate (@ekhotchocolate) on Twitter
Sign in Sign up To bring you Twitter, we and our partners use cookies on our and other websites. Cookies help personalize Twitter content, tailor ...

Interior Health Authority – for your whole life
Home Home This is the home dropdown See Also... Find Us Find Us Find a Location Find a Service Find a Condition or Disease Find a Physician A ...

Ads in Apps 101. Part 5. Fill rate implications
In the previous part we’ve introduced a concept of fill rate – percentage of ad requests fulfilled with actual ads. The harsh reality is that ...

AdRotator V2.0.1 release plus updated Unity editor plugin
We're back baby It's been a while since we were able to dedicate any serious time to the project, we can only apologise for that but both Gergely's ...


New pubCenter reports to help you optimize ad revenue
... users in markets with low Microsoft Ad SDK fill rates. Note that some ad rotators have already been created, for example, by MoAds and AdRotator ...

Tips for using ads in your Windows Phone apps
... in a single master ad control that can target different ad controls to different countries/geos? I have yet to try one of these, but the AdRotator ...

ContactMe - Dark Genesis
Feel free to drop me a line using the form below: Share this:FacebookGoogleTwitterEmailRedditMorePrintLinkedInTumblrPinterestLike this:Like Loading... ...

Matt Lacey: Awesome with Windows Phone: AdDuplex
If you've built an app with a view to making money from it, there are two basic options for you. (There are other options but I'm just looking ...

Using AdDuplex ads with Microsoft’s Ad Mediation service
... the most money is shown and potential ad space is not wasted. The first solution to this problem came from the community in the form of AdRotator ...

Resources last updated: 11/30/2015 2:52:59 AM