Author |
Message |
Registered: July 28, 2008 | Posts: 42 |
| Posted: | | | | I withdrew a submitted profile because I put the movies "tag line" at the beginning of the overview. Obviously I was wrong for submitting it with the tag line but I digress.
Am I just not seeing where too add the movies tag line? If not then I think it would be nice to have a field to add the tag line.
for instance the movie Vacation I would consider the following a tag line:
Every Summer Chevy Chase takes his family on a little trip. This year he went too far.
A more famous tag line would be from Alien:
In space no one can hear you scream
Often times these are quite clever. Anyways I would like to know how to properly include these taglines currently, and if that is not possible would like too be able to do so in the future | | | Last edited: by Kobeck |
|
Registered: May 29, 2007 | Reputation: | Posts: 3,475 |
| Posted: | | | | What's great about this program is you can adjust it to suit your taste. The only thing to remember is that, for the time being, this data must be kept local. |
|
Registered: July 28, 2008 | Posts: 42 |
| Posted: | | | | thanks for the reply |
|
Registered: March 19, 2007 | Reputation: | Posts: 6,018 |
| Posted: | | | | Either that, or you could put the tag line in the Notes field, which won't be submitted anyway. |
|
Registered: March 13, 2007 | Reputation: | Posts: 17,334 |
| Posted: | | | | I use an HTML window that was for taglines... Quote:
<html> <head> <STYLE> BODY { padding: 10px; margin: 0px; background-color: #97b9e9; background-repeat: repeat-x; background-image:url($DPIMAGES.bgimage.jpg); } SPAN { position:absolute; width: 100%; top: expression((document.body.clientHeight - this.offsetHeight) / 2); text-align: center; color: black; font: bold italic 14pt "Book Antiqua"; } </STYLE> <title>Rotating Text</title> <script type="text/javascript"> <DP NAME="HEADER_VARS" Language="JavaScript" Comments="True" IncludeCast="False" IncludeCrew="False"> /**************************************************/
//------ Configuration block START ------ var Separator = "@"; // <-- Set character used as tagline separator var Interval = 3000;// <-- Set time between change, in milliseconds //------ Configuration block END ------
var rotatingTextElement; var rotatingText = new Array(); var ctr = 0;
function initRotateText() { rotatingTextElement = document.getElementById("textToChange");
var tagStart = DP_Notes.toLowerCase().indexOf("\<tagline") + 9;
if (tagStart>8) { var tagEnd = DP_Notes.toLowerCase().indexOf("\/\>", tagStart); var tagline = DP_Notes.slice(tagStart, tagEnd); rotatingText = tagline.split(Separator);
if (rotatingText.length > 1) { ctr = Math.floor(Math.random()*(rotatingText.length)); rotatingTextElement.innerHTML = rotatingText[ctr]; setInterval(rotateText, Interval); } else { rotatingTextElement.innerHTML = rotatingText[0]; } } else { rotatingTextElement.innerHTML = " "; } }
function rotateText() { ctr = Math.floor(Math.random()*(rotatingText.length)); rotatingTextElement.innerHTML = rotatingText[ctr]; }
window.onload = initRotateText; </script> </head> <body scroll="auto"> <span id="textToChange"></span> </body> </html>
I place the HTML Window someplace appropriate in the layout... and then add the tagline into notes in the format... <tagline=The Day the Earth Would Not Stand Still/> If there is more then 1 tagline... you use "@" between them and they will cycle through all the taglines you have for that title one at a time.... like this... <tagline=The Day the Earth Would Not Stand Still@The Greatest Quake in Human History Threatens to Rock The World! /> Here is how it looks in my layout... | | | Pete |
|
Registered: October 6, 2008 | Posts: 1,932 |
| Posted: | | | | Quoting Addicted2DVD: Quote:
VERY cool! (The tagline for "The Men Who Stare at Goats" made me laugh: "No Goats, no glory.") | | | Last edited: by CalebAndCo |
|
Registered: July 28, 2008 | Posts: 42 |
| Posted: | | | | lol - that is funny
I really like what you did CalebAndCo. I wish that were more user friendly. But I definatly like it. | | | Last edited: by Kobeck |
|
Registered: March 14, 2007 | Reputation: | Posts: 1,819 |
| Posted: | | | | I've been using the same html as Pete for ages and I find it very easy to use and would highly recommend it - especially as it means you can place the html window anywhere you want and not be restricted by where Invelos want the information. |
|
Registered: October 6, 2008 | Posts: 1,932 |
| Posted: | | | | Quoting Kobeck: Quote: lol - that is funny
I really like what you did CalebAndCo. I wish that were more user friendly. But I definatly like it. (That was Addicted2DVD. <IrishSpring>But I like it, too!</IrishSpring> ) | | | Last edited: by CalebAndCo |
|
Registered: May 26, 2007 | Reputation: | Posts: 599 |
| Posted: | | | | Great HTML feature! Green arrow for Addicted2DVD |
|
Registered: March 13, 2007 | Reputation: | Posts: 3,321 |
| Posted: | | | | Quoting Antares: Quote: Green arrow for Addicted2DVD Good idea! | | | Get the CSVExport and Database Query plug-ins here. Create fake parent profiles to organize your collection. |
|
Registered: May 26, 2007 | Reputation: | Posts: 599 |
| Posted: | | | | I've been wondering if it is possible to write into the code structure, a command that would use different fonts based upon the primary genre listing in the profile? I'm HTML illiterate, so somebody else would have to create the code to be inserted. I took 10 of the more popular genres and using taglines from famous films in those genres, created a listing of different fonts that would look great as a display for said genres. In the image below, the genre is listed first, then the tagline and finally, the font style used. What do you think, is it possible to create this? And by the way, can anyone name all nine films listed? |
|
Registered: March 13, 2007 | Reputation: | Posts: 17,334 |
| Posted: | | | | I am not a code writer so do not know if it is possible (sorry forget who made the original HTML Window). But I do like the idea. | | | Pete |
|
Registered: March 13, 2007 | Reputation: | Posts: 3,321 |
| Posted: | | | | Yes, it would be possible (and very cool). I don't have the time to tackle such a thing, but I wouldn't think it would be too hard for someone familiar with a little JavaScript. | | | Get the CSVExport and Database Query plug-ins here. Create fake parent profiles to organize your collection. |
|
Registered: March 13, 2007 | Posts: 646 |
| Posted: | | | | I would use stylesheet for this.
.action { font: bold 14pt "Impact"; } .adventure { font: bold italic 14pt "Magneto"; } .animation { font: bold 14pt "Book"; } .classic, .drama { font: bold 14pt "Snap ITC"; } .comedy { font: bold 14pt "Ravie"; } .musical { font: bold 14pt "Broadway"; } .war { font: bold 14pt "Stencil"; } .horror { font: bold 14pt "Chiller"; } .western { font: bold 14pt "Showcard Gothic"; }
These will all go inbetween the <style> and the </style> tags in the code in this thread. They will also default to whatever font the parent element has if the font does not exists on the machine. Since the span element already has a stylesheet font defined (see... font: bold italic 14pt "Book Antiqua"; ), I'm not sure if it will use the font in the classes correctly. Maybe add !important to each class. I'll have to test.
The tricky part will be to switch class on the span tag, following the genre of the current tagline. How should the genre matching the tagline be defined? I was thinking something like this: <tagline=[genre]#tagline_text@[genre]#tagline_text .. [genre]#tagline_text />
I can do the js too but need to catch some zzz so... L8terz all... | | | Last edited: by xyrano |
|
Registered: March 13, 2007 | Reputation: | Posts: 3,321 |
| Posted: | | | | Quoting xyrano: Quote: The tricky part will be to switch class on the span tag, following the genre of the current tagline. How should the genre matching the tagline be defined? I was thinking something like this: <tagline=[genre]#tagline_text@[genre]#tagline_text .. [genre]#tagline_text /> I don't play with HTML windows, but wouldn't you just take the first genre defined in the DP Header_Vars? | | | Get the CSVExport and Database Query plug-ins here. Create fake parent profiles to organize your collection. |
|