>
W.C. Jameson :: WC's Blog
",startCloseTag)+1;
if(div_results!="")
{
objResults.innerHTML+=strBloque.substring(index,startOpenTag);
}
try{
eval(strBloque.substring(endOpenTag,startCloseTag));
}catch(e){
alert(e.name + " - "+e.message);
}
index=endCloseTag;
}
if(div_results!="")
{
objResults.innerHTML+=strBloque.substring(index,strBloque.length);
}
}else{
if(div_results!="")
{
objResults.innerHTML+=strBloque;
}
}
}
var ajax_queue_current = 0;
var ajax_queue_running = 0;
var ajax_queue = Array();
var ajax_queues = 0;
var ajax_queue_callback = "";
function LoadContent(parameters,script,form,ret,divsec)
{
ajax_queues = ajax_queues+1;
ajax_queue[ajax_queues] = Array(parameters,script,form,ret,divsec);
if (ajax_queue_callback){ajax_queue[ajax_queues]['callback'] = ajax_queue_callback;ajax_queue_callback = "";}
if (ajax_queue_running == 0){AJAX_NextQueue();}
}
function AJAX_NextQueue()
{
if (ajax_queue_running == 1){
if (ajax_queue[ajax_queue_current]['callback']){eval(ajax_queue[ajax_queue_current]['callback']);}
}
next = ajax_queue_current+1;
if (ajax_queues >= next)
{
ajax_queue_running = 1;
ajax_queue_current = ajax_queue_current + 1;
AJAX_Run(ajax_queue[next][0],ajax_queue[next][1],ajax_queue[next][2],ajax_queue[next][3],ajax_queue[next][4]);
}else{ajax_queue_running = 0;if ($('AjaxStatus')){$('AjaxStatus').innerHTML = "";$('AjaxStatus').style.display ="none";} }
}
function AJAX_Run(parameters,script,form,ret,divsec)
{
if (script.indexOf('.php') > 0 )
{var url = script;}else{var url = "http://wcjameson.com/management/"+script+".php";}
var params = "aid=ajax&script="+script+parameters;
if (form){params = params + "&" + Form.serialize($(form))}
divid = "Ajax_Table"; if (divsec){divid = divsec;}
if ($('AjaxStatus')){$('AjaxStatus').innerHTML = "Ajax Running "+ajax_queue_current+"/"+ajax_queue.length+". Please be patient... ";$('AjaxStatus').style.display ="";}
new Ajax.Request(url, { method: 'post', parameters: params,
onSuccess: function(transport)
{
if (ret == "noreturn")
{
ajax_queue[ajax_queue_current]['result'] = transport.responseText;
}
else
{
ajax_queue[ajax_queue_current]['result'] = transport.responseText;
ExcecuteSriptsAndReturnText(transport.responseText,divid);
}
AJAX_NextQueue();
}
});
}
function ViewPhoto(gi_id,samewindow)
{
if (samewindow != true)
{
var max_height = iecompattest().clientHeight - 100;
winGP = Dialog.confirm('',{top: 10, width:700,height:max_height, className: "alphacube", okLabel: "Close" })
winGP.getContent().update($('view_photo_div').innerHTML);
winGP.showCenter();
}
$('view_photo_div_html').style.height = iecompattest().clientHeight - 230 + "px";
LoadContent('&vid=view_photo_gallery&gi_id='+gi_id,'includes/components/gallery/gallery.php','','return','view_photo_div_bottom');
LoadContent('&vid=view_photo&gi_id='+gi_id,'includes/components/gallery/gallery.php','','return','view_photo_div_html');
}
function Gallery_SendComment()
{
var fck = FCKeditorAPI.GetInstance("gco_html");
fck.UpdateLinkedField();
ValidateFirst('COForm','1','V_Run','&vala='+$('gi_id').value);
}
function Gallery_SendComment_AJAX()
{
LoadContent('&vid=send_comment&gi_id='+$('gi_id').value,'includes/components/gallery/gallery.php','COForm','return','view_photo_div_html');
return false;
}
function ViewSinglePhoto(photo,autofit,windowWidth,windowHeight)
{
var newImg = new Image();
//Load the window to display a Preview as 'Loading photo...'
winGP = Dialog.confirm('',{top: 10, width:200,height:40, className: "alphacube", okLabel: "Close" })
winGP.getContent().update("Loading Photo, please wait... ");
winGP.showCenter();
newImg.onload=function(photo,autofit,windowWidth,windowHeight)
{
if (autofit == null){autofit = true;}
var photo_final = this.src;
var photo_resize = false;
var photo_width = 0;
if (this.height > 0)
{
if (autofit == true)
{
var height = this.height;
var width = this.width+30;
if (width > (iecompattest().clientWidth - 50) ) {windowWidth = iecompattest().clientWidth - 50; photo_resize = true;} else { windowWidth = width; }
if (height > (iecompattest().clientHeight - 50) ) {windowHeight = iecompattest().clientHeight - 50; photo_resize = true; } else { windowHeight = height + 20;}
if (photo_resize == true){photo_width = windowWidth-50; photo_final = "thumb2.php?file="+this.src+"&mode=width&size="+photo_width;}
}
if (windowWidth == null){windowWidth = 700;}
if (windowHeight == null){windowHeight = 500;}
//winGP = Dialog.confirm('',{top: 10, width:windowWidth,height:windowHeight, className: "alphacube", okLabel: "Close" })
$('SinglePhotoDIV_Image').src = photo_final;
winGP.setSize(windowWidth, windowHeight);
winGP.getContent().update($('SinglePhotoDIV').innerHTML);
winGP.showCenter();
}
}
newImg.src = photo;
}
function ScrollMove(px,increment)
{
if (increment == true)
{
$('gallery_browse_bottom_scroll').scrollLeft = $('gallery_browse_bottom_scroll').scrollLeft + px ;
}
else
{
$('gallery_browse_bottom_scroll').scrollLeft = px;
}
}
function Gallery_Next_Prev(domove)
{
var images = $('gi_available').value;
var images_arr = images.split(",");
for (x=0;x<=images_arr.length;x++)
{
if (images_arr[x] == $('gi_id').value)
{
if (domove == "next")
{
var next_img = x+1;
if (next_img+1 > images_arr.length){next_img = 0;}
Gallery_ViewPhotoSwitch(images_arr[next_img]);
}
if (domove == "prev")
{
var prev_img = x-1;
if (prev_img-1 < 0){prev_img = images_arr.length-1;}
Gallery_ViewPhotoSwitch(images_arr[prev_img]);
}
return;
}
}
}
function Gallery_ViewPhotoSwitch(gi_id)
{
LoadContent('&vid=view_photo&gi_id='+gi_id,'includes/components/gallery/gallery.php','','return','view_photo_div_html');
}
function iecompattest(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}
function CommentsPage(co_wp_id,page)
{
LoadContent('&co_wp_id='+co_wp_id+'&action=switchpage&page='+page,'includes/components/comments/comments.php','','return','comments_listing_box');
}
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
try {
var pageTracker = _gat._getTracker("UA-544074-32");
pageTracker._trackPageview();
} catch(err) {}
window.onload = function () {
if ($('pngfix')){pngfix.main();}
}
WC's Blog
Part 1
There comes a time in the life of every healthy, fit, and right-thinking man the need for a quest. Since I have devoted the better part of my life to quests of various kinds, undertaking yet another is always an adventure in itself. Since I was in the mood for something low key, and since my favorite wife would be accompanying me, I settled on a quest to find the best plate of enchiladas in West Texas, a noble and important endeavor, I claim.
When I say West Texas, I (...)
Regular readers of this blog are well aware that this kind of thing doesn’t come easy for me. Other than writing books, songs, and poetry, I tend to be somewhat uncommunicative. It’s not that I’m unfriendly or reclusive, I’ve just never been convinced I had anything worthwhile to say, particularly when it comes to blogging.
At the urging of my nationally famous and ever-charming webmaster , however, I agreed to write blogs for this website, as well as for the new Billy the Kid-oriented s(...)
Texas Treasure Show 2010, Day Two
from guest blogger Laurie Jameson
Due to Daylight Savings Time we arrive a bit late at the Maude Cobb Convention Center. The early morning metal detector hunts are over and a thin stream of people wait to enter the events area, along with others who have come to attend the adjoining Gun Show. A lazy-day aura hovers around the booths. As WC chats with an occasional visitor I spend time researching the two ocean-going treasure hunters in attendance thi(...)
Texas Treasure Show 2010, Day One
by guest blogger Laurie Jameson
This is my fifth time to attend the annual Treasure Show, Convention and Hunt sponsored by the Texas Council of Treasure Clubs with my husband W.C. Jameson. Months before the event he sends in the paperwork to pay for a booth and makes motel reservations. The week before we leave he begins to gather and pack a selection of his books. Lastly, he services the truck. My role on the morning that we leave: I pack my own c(...)
After having been declared missing for more than a half-century, the taped interviews with William Henry Roberts, the man a number of researchers and investigators have determined was the outlaw Billy the Kid, have been found and are now available in a recently released e-book titled Billy the Kid: The Lost Interviews by W.C. Jameson.
The lost interviews were originally heard in 1949 by only two men – folklorist and scholar Dr. C.L. Sonnichsen and para-legal William V. Morrison. Morrison(...)
Pages:
Prev
1
2
3
Next
- 14 entries